home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / business / automt30.zip / MANUAL.DOC < prev    next >
Text File  |  1992-02-16  |  128KB  |  3,359 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                                    AUTOMATE
  17.  
  18.                        Home Automation Using a Personal Computer
  19.  
  20.  
  21.                             by    Boyd W. Penn
  22.          
  23.  
  24.  
  25.                                   91 Navarre Street
  26.                                   Hyde Park, Ma. 02136
  27.  
  28.                                   (617) 364-3731
  29.  
  30.  
  31.                                   May 1, 1992
  32.                                   Version 3.0
  33.  
  34.  
  35.                                   Shareware Version
  36.  
  37.  
  38.                            (c) Copyright 1991, 1992 Boyd W. Penn
  39.  
  40.                                All Rights Reserved
  41.  
  42.  
  43.                        Permission is granted to distribute  
  44.                        exact copies of this document with its
  45.                        source referenced
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                
  57.            
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.    AUTOMATE - Home Monitoring and Control Shareware Version 3.0
  66.  
  67.  
  68.                       AUTOMATE INDEX
  69.  
  70.                                                                 Page No.    
  71.  
  72. 1.  INTRODUCTION  .............................................    1
  73.  
  74. 2.  OBJECTIVES OF THE AUTOMATE PROJECT  .......................    3
  75.  
  76. 3.  ABOUT THE AUTHOR  .........................................    4
  77.  
  78. 4.  LICENSE  ..................................................    6
  79.  
  80. 5.  APPLICATIONS  .............................................    8
  81.  
  82. 6.  HOW TO DO AUTOMATION AND CONTROL   ........................    11
  83.     USING A PERSONAL COMPUTER
  84.  
  85. 7.  SIMULATIONS AND ILLUSTRATIONS OF COMPUTER..................    15
  86.     MONITORING AND CONTROL
  87.  
  88. 8.  SENSORS  ..................................................    16
  89.  
  90. 9.  FILES OF ACTUAL MONITORING  ...............................    19
  91.  
  92. 10. X-10 POWER LINE INTERFACE SYSTEM  .........................    20
  93.  
  94. 11. GAME CARD   ...............................................    23
  95.  
  96. 12. COMMUNICATIONS WITH YOUR PC USING  ........................    27
  97.     INFRARED OR RADIO
  98.  
  99. 13. ROBOTICS  .................................................    28
  100.  
  101. 14. CALLER ID AND OTHER TELEPHONE APPLICATIONS  ...............    29
  102.  
  103. 15. PROGRAMMING  ..............................................    30
  104.  
  105. 16. THE SOLAR ENERGY PROJECT  .................................    33
  106.  
  107. 17. THE WEATHER STATION PROJECT ...............................    35
  108.  
  109. 18. GENERAL AUTOMATION AND CONTROL THEORY  ....................    36
  110.  
  111. 19. AUTOMATION AND CONTROLS LAB  ..............................    40
  112.  
  113. 20. MURPHY'S LAW ACCORDING TO CONTROL THEORY  ................     41
  114.  
  115. 21. PROBLEM AREAS AND LIMITATIONS  ............................    44
  116.  
  117. 22. WHAT DO I GET IF I REGISTER  ..............................    45
  118.  
  119. 23. THE AUTOMATE TOOL-BOX .....................................    48
  120.  
  121. 24. QUESTIONS  ................................................    49
  122.  
  123. REGISTRATION AND ORDER FORM
  124.  
  125.  
  126.  
  127.  
  128.  
  129.   
  130.   INTRODUCTION
  131.   
  132.   
  133.   
  134.   This software offering  is probably a  little different than most you have
  135.   seen.  Its about doing things with your computer. Not just databases, word
  136.   processing,  games and all  that sort of  thing but doing  real stuff like
  137.   turning  on  lights,  making the  coffee,  monitoring the  house  in short
  138.   getting out  of the  computer world and  bringing the real  world into the
  139.   computer.
  140.   
  141.   Home automation,  monitoring and control  has been  the dream and  goal of
  142.   many folks but until recently it has  not been practical for many reasons.
  143.   Number one,  the cost of  real computer  automation was out  the financial
  144.   reach of most people in their home environment.  Number two, you needed to
  145.   be a  programmer,  electrical engineer,  control engineer  and  just plain
  146.   lucky to get your brilliant buzzing  computer box to do anything practical
  147.   as far as  the rest  of the world  was concerned.  Number three,  the real
  148.   world runs on high voltage,  like 115 VAC for lights, dishwashers, etc and
  149.   220 VAC for larger appliances like dryers and air conditioners.
  150.   
  151.   High voltage  and  computers don't mix,  put high voltage  (except for the
  152.   wall plug to power it)  anywhere near your computer and you have one fried
  153.   machine that is in bad need of a repair shop.
  154.   
  155.   That has all changed. The hardware is now available on the market to allow
  156.   the average computer owner  to have automation,  monitoring and control of
  157.   the home  environment.  This program  explains it  in simple  terminology,
  158.   shows what is possible,  tells you how to get the information into and out
  159.   of the  computer  and for  registered  users provides details  on building
  160.   equipment,  design of control programs,  lists of equipment manufacturers,
  161.   references to all sorts of information,  more sample programs,  how to get
  162.   analog signals  into  the computer  and  write programs  to  manipulate or
  163.   control from  the data.  And as the  sales persons  like to say  and much,
  164.   much, more.
  165.   
  166.   The offering is divided  into two issues.  This the shareware version is a
  167.   discussion of what is possible and simulations.  The registered version is
  168.   an completely different  set of files,  devoted to the  actual control and
  169.   monitoring applications.
  170.   
  171.   Welcome to the  exciting world  of computer monitoring  and control.  This
  172.   version  introduces  the  concepts,  provides  background  information and
  173.   education in the overall  field and allows  for a "test drive" to show and
  174.   demonstrate what monitoring and control  using your personal computer will
  175.   look like.
  176.   
  177.   Imagine  pressing  a  key on  your  computer keyboard  and  turning on/off
  178.   lights, appliances, dimming/brightening lights, setting the lighting mood,
  179.   monitoring  temperature,   alarming  when   the  temperature  drops  below
  180.   freezing,  total automated control and monitoring  of the home environment
  181.   and all those other  things folks have  promised for years but where never
  182.   really available to the average personal computer user.
  183.   
  184.   AUTOMATE is written  and developed  by an experienced  instrumentation and
  185.  
  186.  
  187.  
  188.                                                                       PAGE 2
  189.  
  190.   controls  engineer  with  extensive  background  in  automation  of  large
  191.   projects.  AUTOMATE  is  a tutor,  equipment selection  guide,  provides a
  192.   complete engineering working method for achieving your goals.  In addition
  193.   it is fun,  maybe the best computer fun ever, with that elusive quality of
  194.   vastly increasing your  computer skills  while enjoying the experience and
  195.   having a ball.
  196.   
  197.   More important AUTOMATE'S  instruction manual is  written to the  level of
  198.   the average computer user and assumes no engineering,  electronics or math
  199.   background.   The   registered   version  contains   a  huge   manual  and
  200.   documentation written to  be very  detailed instructions to accomplish the
  201.   goals  of  home  monitoring  and  control.  The  instructions  provide the
  202.   background and  step  by step instructions  to allow the  average computer
  203.   user to develop their dream home automation systems.
  204.   
  205.   The AUTOMATE menuing system  is provided to  allow for access of all areas
  206.   and functions provided by this offering.
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.                                                                       PAGE 3
  250.  
  251.   
  252.   
  253.   
  254.   OBJECTIVES OF THE AUTOMATE PROJECT
  255.   
  256.   
  257.   The primary  objective  of the  AUTOMATE  project was  first  and foremost
  258.   information.  This  shareware  program  is designed  to be  an information
  259.   program,  a one stop,  essentially free look  at what  is available to the
  260.   home computer hobbyist.
  261.   
  262.   Another very high  objective was to  develop an integrated home automation
  263.   system totally under control of the user  to develop in any direction that
  264.   met that users needs.  The one big  thing that stands  out in the field of
  265.   automation systems there  is no  "one size  fits all".  Everyones desires,
  266.   needs and wants  are different.  AUTOMATE was  developed to  allow for the
  267.   user to customize their systems to their tastes.
  268.   
  269.   Integrated is just  that integrated.  The users  has total  control of all
  270.   functions in the automation system.  All functions can be in one big fully
  271.   coordinated program written by the user.
  272.   
  273.   AUTOMATE is modular in construction. Each function is developed as a stand
  274.   alone  fully  functional  application.  All  functions  are  developed and
  275.   presented with a  text descussion,  source code applications  programs and
  276.   complete bills of materials if hardware is required.
  277.   
  278.   AUTOMATE is  developed  with the home  computer hobbyist's pocket  book in
  279.   mind.  All  functions  are  as  low cost  as possible.  In many  cases the
  280.   function is  available as  a commercial  product.  The AUTOMATE  developed
  281.   function will be a  fraction of the  commercial products cost  and in most
  282.   cases will  perform as  good if not better.  Using the junkbox  as much as
  283.   possible with a common sense approach to problem solving and costs.
  284.   
  285.   AUTOMATE was developed as a tutor.  The short time on the market has shown
  286.   the vast difference in user's skills.  Some are very accomplished and some
  287.   are new or novice computer users. One of the goals was to accommodate all.
  288.   This shareware  program  serves the  function of  very  basic introductory
  289.   information.
  290.   
  291.   AUTOMATE was  designed to  never be  complete.  As long  as  there are new
  292.   ideas, there will always be something else to do with AUTOMATE. In keeping
  293.   with that concept,  AUTOMATE can never be  out of date,  constant upgrades
  294.   are prossible  as  technology changes  or new functions  become available.
  295.   None of this scrap the system and buy some new whiz bang system.
  296.   
  297.   The overall goal of the AUTOMATE project  is to become the premeir program
  298.   for the home computer hobbyist and experimenter.  A one source, constantly
  299.   improving  development  incorporating affordable,  understandable,  doable
  300.   home automation projects.
  301.   
  302.   The AUTOMATE project is a very time hungry, resources gobbling beast. I am
  303.   now on my fifth year of the project.
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.                                                                       PAGE 4
  311.  
  312.   
  313.   
  314.   
  315.   
  316.   ABOUT THE AUTHOR
  317.   
  318.   
  319.   
  320.   
  321.   Most software I  have used  brings to mind the question,  who is the idiot
  322.   who did this monstrosity?  If you buy  a book,  there is usually  a little
  323.   section on the  the back cover  that tells you about the author,  then you
  324.   can decide to believe what they say based on what they have done. Software
  325.   isn't  like  that,  something about  computer stuff  that says  you better
  326.   believe it and  if it don't  work it must be your fault.  I said if I ever
  327.   wrote anything for the  general public I  would at least  include a sketch
  328.   about the author.
  329.   
  330.   I spent  about  twenty years  working  as an  instrumentation  and control
  331.   engineer building big things like power plants,  industrial plants, energy
  332.   projects, etc.  Basically I did the engineering for all sensors to collect
  333.   data,  the control room, computer systems, monitoring systems, controls of
  334.   all types, programming for industrial type computers and the like. This is
  335.   my first software ever released to the general public,  mostly because the
  336.   bulk of  what I  write is very  custom and  I wanted  something general in
  337.   nature.  Plus something useful  and that could  be modified by the user to
  338.   their  needs.  So  no  fancy  flashing  graphics,  windows,  gimmicks  but
  339.   something you can use and develop further.
  340.   
  341.   Also  had  factory jobs,  electronics technician,  The Army,  Navy nuclear
  342.   power program on a submarine as a reactor operator/technician, worked in a
  343.   power plant and in general kind of knocked  around the world and saw a lot
  344.   of different situations.  I had  one interesting  project of  developing a
  345.   monitoring system based on a personal  computer to monitor a small factory
  346.   operations,  compute and log the data and  transmit it to remote locations
  347.   over the phone lines.  Also worked in  a calibration lab  and did a lot of
  348.   field cal  work.  Will give some  hints on  low tech/low  cost calibration
  349.   methods.
  350.   
  351.   Any  programming  examples  will  be  done  in  modules  with  each module
  352.   explained.  The shareware version does not have any real world application
  353.   programming examples.  All programs in  this version  use the  joystick to
  354.   simulate  computer  monitoring  inputs.  The  registered  version includes
  355.   program examples for monitoring using real world inputs.
  356.   
  357.   My software philosophy is simple. It is:
  358.   
  359.   
  360.       a. Software should be of use to the user.
  361.   
  362.       b. Be tunable to their needs.
  363.   
  364.       c. Be understandable
  365.   
  366.       d. Be fully disclosed, with no "hidden secrets".
  367.   
  368.  
  369.  
  370.  
  371.                                                                       PAGE 5
  372.  
  373.       e. Rights to use the results generated from use of that
  374.          software should be included in the purchase.
  375.   
  376.       f. Folks should be willing to pay for what they get.
  377.   
  378.       g. And finally it should be enjoyable, fun and hopefully
  379.          have some humor.  Enough of this white knuckle approach to
  380.          things.
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.                                                                       PAGE 6
  433.  
  434.   
  435.   
  436.   
  437.   
  438.   LICENSE AGREEMENT
  439.   
  440.   
  441.   AUTOMATE is developed and published by Boyd W.  Penn of 91 Navarre Street,
  442.   Hyde Park, Ma. 02136.
  443.   
  444.   The information  presented therein  is for  educational,  experimental and
  445.   hobby  purposes  only.  NO  direct  applications for  home automation  and
  446.   control have been provided as part of this program, in whole or in part.
  447.   
  448.   Although extra  efforts  have been  made  to ensure  this  program and its
  449.   documentation are accurate and precise, they are provided to you on an "as
  450.   is"  basis.  No warranty  of any  kind (direct  or implied)  is made  with
  451.   respect to this program and its related files.  The author of this program
  452.   is expressly not liable for any damages to computer hardware,  software or
  453.   any other equipment.  Also there shall  be no  liability to the  author of
  454.   this  program  for  lost  profits,  lost revenue  or  other incidental  or
  455.   consequential  damages  arising  out of  the  use or  information  of this
  456.   program.
  457.   
  458.   The  user  assumes  ALL  risks  with  respect  to  the accuracy,  quality,
  459.   reliability,  performance  or  otherwise  use  of  this  program  and  its
  460.   information.
  461.   
  462.   A limited license is  granted to all  users to this program to make copies
  463.   of the program files and its related documentation, and to distribute them
  464.   to other users subject to the following conditions:
  465.   
  466.   
  467.           1. The program, its related files and documentation are
  468.              not modified in any way and all files are distributed
  469.              together in their original form.
  470.   
  471.           2. No fee is charged for the software and documentation,
  472.              except for a small distribution and media fee.
  473.   
  474.           3. The program, its related files and documentation may not
  475.              be packaged with any other software (except as part of a
  476.              shareware software distribution program as stated in items
  477.              1 and 2) or hardware without written agreement from the author.
  478.   
  479.           4. Any for profit, business or commercial use of this program,
  480.              its files and information is expressly prohibited.
  481.   
  482.           5. The software contained herein will be used in a "shareware try
  483.              before you buy mode", without continuous or useful daily use.
  484.   
  485.   Additional restrictions  and  terms are  contained  in chapter 22  of this
  486.   version for the right to purchase this software. In signing the order form
  487.   agreement,  the purchaser is acknowledging reading and understanding those
  488.   additional restrictions and terms in addition  to an understanding of what
  489.   is being offered in the registered version.
  490.  
  491.  
  492.  
  493.                                                                       PAGE 7
  494.  
  495.   
  496.   Note: X-10 is registered trademark of X-10 (USA) INC.
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.                                                                       PAGE 8
  555.  
  556.   
  557.   WHAT CAN I DO - APPLICATIONS USING YOUR COMPUTER
  558.   
  559.   
  560.   
  561.   What kind of things  can a home automation,  monitoring and control system
  562.   based on using a personal computer do?
  563.   
  564.   These applications come to mind and I'm sure its far from complete:
  565.   
  566.   
  567.           A. Burglar alarm
  568.   
  569.           B. Security systems
  570.                   1. Control lights in responds to motion
  571.                   2. Control surveillance video systems
  572.                   3. Calls if fire/break in
  573.                   4. Extra smart garage door control
  574.                   5. Door entry control
  575.                   6. Night light control
  576.                   7. Fire alarms
  577.                   8. Outside parameter monitor
  578.                   9. Counting events, people passing, etc.
  579.                  10. Smart doorbell(s) (rings where you are)
  580.                  11. Basement/cellar flooding monitor
  581.                  12. Crib/area/room monitor
  582.                  13. Oil tank level low monitor
  583.                  14. Pool area monitor
  584.                  15. Event logging
  585.                  16. Panic/Help buttons
  586.                  17. Sump pump control
  587.   
  588.            C. Energy systems
  589.                   1. Solar energy (a big one, more to come)
  590.                   2. Attic fan
  591.                   3. Thermostat control
  592.                   4. Air conditioning
  593.                   5. Heating
  594.                   6. Hot water
  595.                   7. Jacuzzi
  596.                   8. Greenhouse temperature control
  597.                   9. Snow melting
  598.                  10. Auto warming
  599.                  11. Environment control, air cleaners, humidity
  600.                  12. Exhaust fans
  601.                  13. Swimming pool temperature/level/pump control
  602.   
  603.             D. Appliance control
  604.                   1. Make coffee in morning
  605.                   2. Dishwasher
  606.                   3. Wake up service
  607.                   4. Stereo
  608.                   5. TV
  609.                   6. Ceiling fans
  610.                   7. Window fans
  611.                   8. Light bright/dim control
  612.  
  613.  
  614.  
  615.                                                                       PAGE 9
  616.  
  617.   
  618.              E. Communications
  619.                   1. Phone answering machine
  620.                   2. Remote control of home over the phone
  621.                   3. Home status over the phone
  622.                   4. Home based switchboard/paging/call forwarding
  623.                   5. Telemarketing dialing
  624.                   6. Voice mail
  625.                   7. Remote door answer over the phone
  626.                   8. Security calling features
  627.                   9. PBX features through out house using one phone line
  628.                  10. Communications/TV dish/antennas
  629.                  11. FAX monitor
  630.                  12. Phone/communications charges/time/logging monitor
  631.   
  632.              F. Convenience/Monitoring
  633.                   1. Lawn watering
  634.                   2. Freezer thaw alarm
  635.                   3. Automatic plant watering
  636.                   4. Pet entry/exit control
  637.                   5. Outdoor/Indoor temperature monitoring
  638.                   6. Snowfall/rainfall monitoring
  639.                   7. Mailbox monitor (did the mailman cometh yet)
  640.                   8. Gate monitor (Is it open/closed)
  641.                   9. Dawn/dusk light control
  642.                  10. hallway/bathroom nighttime light control
  643.                  11. Drapery control
  644.                  12. Voice/motion activated control
  645.                  13. Aquarium monitor
  646.                  14. Freeze Alarm
  647.                  15. Automatic timed computer operations
  648.                  16. Automatic weighting and data entry to weight control
  649.                      program
  650.                  17. Fitness program monitoring
  651.   
  652.   
  653.   As you can see security,  energy systems and communications  are big areas
  654.   for home automation.  But there are already systems on  the market to do a
  655.   lot of those things, why mess around with a computer?
  656.   
  657.   Number 1 -  Most stand  alone systems  are "dumb".  They blindly  do their
  658.   thing  no  matter what  is happening  around them.  Basically you  want an
  659.   integrated system.  Most stand alone systems  work on time.  Why water the
  660.   lawn just because  its 6 O'clock  in the morning and raining.  Or why turn
  661.   off the  window  fan at  three  in morning when  its still hot.  Using the
  662.   information developed by  one system and  then shared by all other systems
  663.   is very powerful, cost effective and provides systems that are very useful
  664.   and easy to live with.
  665.   
  666.   
  667.   Number 2 -  Most don't work  very well at  their best.  Murphy's Law talks
  668.   about the hidden flaw  and most stand  alone systems manage  to find them.
  669.   Some little  gismo breaks  and the  entire  system no longer  works or the
  670.   set-up is complicated with instructions that make  no sense and can not be
  671.   remembered plus you lost  the written instructions.  Another big flaw many
  672.   require  running  wires   for  power   or  control  through   an  existing
  673.  
  674.  
  675.  
  676.                                                                      PAGE 10
  677.  
  678.   ceilings/walls or where ever, lots of luck.  The systems I will talk about
  679.   in later  sections  avoid new  wiring  completely or  let  you decide  the
  680.   applications where it is possible.
  681.   
  682.   Number  3  - Most  don't tell  what they  did or  if they  did it  at all.
  683.   Computer based systems provide data logging  with the event time and date.
  684.   Plus its at no real cost and can be very complete and detailed.
  685.   
  686.   
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.                                                                      PAGE 11
  738.  
  739.   
  740.   
  741.   
  742.   
  743.   HOW TO BUILD AN AUTOMATION SYSTEM
  744.   
  745.   
  746.   
  747.   Ok so how do we actually build one of these automated systems.  The answer
  748.   is the the X-10  "power line carrier"  technology that has been around for
  749.   awhile.  Basically its little modules that plug  into the standard 115 VAC
  750.   wall power receptacles.  They are capable of sending signals to each other
  751.   over the same wiring that powers the house. The modules talk to each other
  752.   based on codes set on small dials on each module.
  753.   
  754.   Many are  familiar  with the  motion  sensing light  systems  that turn on
  755.   lights when someone walks  in an area.  These sensors are  also capable of
  756.   turning on  remote  lights inside  the  house via  other  modules tuned to
  757.   listen for their signal.  Many manufacturers make these systems,  some are
  758.   Powerhouse,  Stanley and  Heathkit to  name a few.  Many stores  carry the
  759.   basic X-10 modules in the security section.
  760.   
  761.   What type of modules are there?
  762.   
  763.   
  764.           1. Lamp modules to turn on/off and dim/brighten lights
  765.           2. Appliance modules to control small appliances
  766.              (15A or 1/3HP motor limits)
  767.           3. Motion sensing modules
  768.           4. Annunciator modules
  769.           5. High voltage appliance modules (220 VAC at 20 amps)
  770.           6. Contact sensing/input modules
  771.           7. Transmitter units to control the modules
  772.              (usually by a pushbutton)
  773.           8. Communication modules
  774.           9. Timer modules
  775.   
  776.   
  777.   All this has been around awhile,  the system is programmed by setting dial
  778.   codes and  control is  by a  fixed  base station  or  remote hand  carried
  779.   transmitter.
  780.   
  781.   What is now  different is that  hardware gateway modules are now available
  782.   to allow your personal computer to talk to the X-10 modules over the power
  783.   line that powers the house.  The power line interface  plugs into the wall
  784.   receptacle and another  cable connects to  the computer serial or parallel
  785.   port.  Two way communication is now possible  between the computer and the
  786.   X-10 modules.  In short the computer  can now control lights,  appliances,
  787.   etc.  Also the computer can read the power line for communications between
  788.   two modules or  a transmitter/control unit.  An integrated  automation and
  789.   control system is now possible.
  790.   
  791.   So   what's   the    difference,   the    computer   just   replaced   the
  792.   transmitter/control unit and is  doing the same  thing only it costs a lot
  793.   more.  Doesn't sound  like a  big gain to me.  What is needed is  a way of
  794.   using the power of computer software  to react to the changing environment
  795.  
  796.  
  797.  
  798.                                                                      PAGE 12
  799.  
  800.   and modify a fixed rigid program (that put in the X-10 transmitter/control
  801.   units - push a button turn something on) to a flexible program reacting to
  802.   changes like what time of the day is it, what day of the week is it, is it
  803.   raining, is it hot/cold outside, is the sun shining. In short the computer
  804.   replaces the human for monitoring and some decision making.
  805.   
  806.   AUTOMATE is  written with  a common  sense approach.  The why's,  what and
  807.   concepts are based on proven engineering techniques.  AUTOMATE was written
  808.   around a  concept  of what was  needed to having  a working system.  Those
  809.   difficult or impossible  areas are worked  out and presented  as "plug in"
  810.   files  for  developing  your systems.  There is  no  experiment with  this
  811.   concept and see  if you  can get a  working application.  All applications
  812.   presented in  AUTOMATE  have been  built,  debugged and tested  as working
  813.   applications by the author.
  814.   
  815.   AUTOMATE  was  developed  based  on  a  scaled  down  model  of industrial
  816.   monitoring and control concepts.  Safety was and is a prime consideration.
  817.   Safety is  discussed  in detail  and  is a  common  thread throughout  the
  818.   offering.  The  user  is  guided  in  the  areas  of  equipment selection,
  819.   construction and in the overall use concepts.
  820.   
  821.   Lets stop  and see  what we  know and  what is  missing to  allow use of a
  822.   personal computer as a good control device.
  823.   
  824.   
  825.           A. The X-10 technology can solve the problem of connecting
  826.              the computer to the high voltage real world.
  827.   
  828.           B. The X-10 technology is "Dumb". It just does what its told.
  829.              Therefore we need information from another source. Using this
  830.              other source of information we can modify the system operation
  831.              to meet the changing environment.
  832.   
  833.           C. The status of the X-10 technology devices is not continuously
  834.              reported. The system only reports status when commands are
  835.              given. Therefore in certain situations we may need to verify
  836.              an operation actually happened.
  837.   
  838.           D. Data logging and event reporting really become a useful possible
  839.              option at little or no cost.
  840.   
  841.           E. Software design can become a problem if many different pieces of
  842.              software from different sources are used for separate functions.
  843.   
  844.           F. We are kind of limited to on/off type control output.
  845.   
  846.           G. The X-10 technology is modular in nature so you can try a little
  847.              project and then expand as the needs change.
  848.   
  849.           H. The X-10 technology is not totally "Fail Safe", especially in a
  850.              computer control environment. The local control switches to the
  851.              devices being controlled are still operational but good software
  852.              design is still required.
  853.   
  854.           I. The X-10 technology can not perform direct operation of many
  855.              systems.
  856.  
  857.  
  858.  
  859.                                                                      PAGE 13
  860.  
  861.   
  862.   
  863.   AUTOMATE is basically  the missing link  to allow the  home monitoring and
  864.   control system  to operate  as an integrated,  smart system.  AUTOMATE can
  865.   measure parameters in the real world, be programmed with the user's wishes
  866.   and exercise the control via a  communications gateway to operate the X-10
  867.   technology.  Those X-10  control/transmitters  are a  very poor  method of
  868.   achieving control  using  the X-10  technology.  First they  are  not very
  869.   powerful in capabilities. Second they make no sense to program and you are
  870.   forced to do it the  way someone else wanted.  Third they do not keep time
  871.   very well, your computer keeps excellent time. Fourth, they cannot measure
  872.   the outside world.  Fifth, the system size is very limited, using AUTOMATE
  873.   it is possible to build huge systems.
  874.   
  875.   Where do we get those other sources of  information and how do we get them
  876.   into the computer?  Plus why who you really want to do it? A good place to
  877.   start is the game port.  You can buy input/output boards but my experience
  878.   with them has  been dismal.  Manufacturers like  to sell  these boards and
  879.   make  all  sorts  of claims.  I found  few  to pan  out.  They tend  to be
  880.   expensive and  the software  included (if any)  is very cramped  and short
  881.   sighted. Usually your into some sort of development program to make it all
  882.   work.
  883.   
  884.   There are input/output  boards for  personal computers ranging from around
  885.   several hundred dollars to  over a thousand  but when you stop and look at
  886.   what is  required to  actually get them  to perform real  world control or
  887.   monitoring functions,  its many  of  the same things  that you have  to do
  888.   using my methods.  Only my methods don't cost even one hundred dollars, is
  889.   totally under your control, uses very low cost sensors and input equipment
  890.   and in the end, if properly understood and implemented is just as accurate
  891.   or maybe even more accurate.
  892.   
  893.   I have used some  of these other  input systems and found little problems,
  894.   like no ability to make corrections for sensor errors or inaccuracy in the
  895.   software,  hardware and software compatibility  problems and stupid things
  896.   like you could not  unplug a sensor  without causing the  entire system to
  897.   crash.  Another big drawback,  you pay them  for the  input board but they
  898.   forget to mention the amount of calibration equipment required to ever get
  899.   a working system.  The board winds up being only  a very small fraction of
  900.   the cost of a working system.
  901.   
  902.   The game port is good because usually  its already there at no cost.  Both
  903.   analog and contact status  data is possible.  The software routine to read
  904.   the data is  very straightforward.  Game ports  can be  added at  very low
  905.   cost.  Many sensors can be fashioned that work quite well.  As long as you
  906.   don't try  a  great complex  system  or require  blazing  accuracy it will
  907.   probably serve well.
  908.   
  909.   The reason for doing it is simple. It is what is known as a hybrid control
  910.   system,  both  analog  and  digital  (contact  type)  are available.  When
  911.   combined with the  X-10 technology you  have all the necessary ingredients
  912.   for a hybrid  control system.  That allows all the  really good stuff like
  913.   direct  control/monitoring  of  systems  such  as solar  energy collecting
  914.   systems to  be possible.  Plus meaningful data  logging is available.  Lot
  915.   more on all this in the other chapters.
  916.   
  917.  
  918.  
  919.  
  920.                                                                      PAGE 14
  921.  
  922.   What emerges  from all  this is the  ability to build  control systems for
  923.   home automation where equipment, appliances, lights, etc.  can be directly
  924.   controlled  via  a  personal computer.  The control  can  be initiated  by
  925.   signals developed by AUTOMATE, the computer keyboard, time/date as kept by
  926.   the  computer,  computed set  points  by a  program,  signals from  remote
  927.   control stations or  combinations thereof.  AUTOMATE carries  this concept
  928.   through the signal developments, integration into a monitoring and control
  929.   system and  the ability  to control  the  X-10 modules  to  make a working
  930.   system.  AUTOMATE includes no hardware as  part of the purchase.  All X-10
  931.   hardware and some software is by others.  A complete reference is given in
  932.   the registered  version for  purchase of those parts.  The instructions to
  933.   integrate all components is given in AUTOMATE.
  934.   
  935.   AUTOMATE approximates the  capabilities of using  a commercial 8 bit input
  936.   card.  The lowest cost card  is in the  general range of $500 for just the
  937.   card.  This method has  no software  development problems and  unlike most
  938.   commercial cards the input have been found  to be extremely stable with no
  939.   drifting of values.
  940.   
  941.   The systems  built using  AUTOMATE are  very flexible.  They can be easily
  942.   modified or adjusted to compensate for changes. The systems using AUTOMATE
  943.   do not become out of date as the technology changes.  The AUTOMATE systems
  944.   can  be  upgraded  without  scrapping  the  original system.  The AUTOMATE
  945.   systems are very low  cost and powerful  when compared to any other method
  946.   available for home automation, monitoring or control.
  947.   
  948.   
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.                                                                      PAGE 15
  982.  
  983.   
  984.   
  985.   
  986.   SIMULATIONS AND ILLUSTRATIONS OF COMPUTER MONITORING AND CONTROL
  987.   
  988.   
  989.   Simulation files have  been included to  show what computer monitoring and
  990.   control using X-10 modules and the gamecard would look like.
  991.   
  992.   All simulations  use  the joystick  or  keyboard cursor  keys  to simulate
  993.   analog or contact signals into the computer via the gamecard.  Programming
  994.   of the simulations is actually more difficult than programming of the real
  995.   control or monitoring scheme.
  996.   
  997.   The simulations feature some animation and have a written text explanation
  998.   that is offered before each simulation.  The program automatically selects
  999.   the proper mode for running the simulations based on your equipment.
  1000.   
  1001.   The simulations and illustrations are selected by choosing Item C from the
  1002.   Main Menu.
  1003.   
  1004.   The operative sections  of the simulations,  graphic displays  for analog,
  1005.   etc.  source code has  been snipped out,  packaged and is  included in the
  1006.   AUTOMATE TOOL-BOX.
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.                                                                      PAGE 16
  1043.  
  1044.   
  1045.   
  1046.   
  1047.   ********** WARNING ************ WARNING ************** WARNING *******
  1048.   
  1049.   DO NOT TRY TO USE ANY SENSOR THAT GENERATES ITS OWN POWER OR VOLTAGE
  1050.   AS PART OF ITS SIGNAL INTO YOUR COMPUTER. ALL SENSORS AS REPRESENTED
  1051.   IN THIS DOCUMENTATION ARE RESISTIVE IN NATURE. IN SHORT THE COMPUTER
  1052.   SUPPLIES THE POWER. EXTREME CARE MUST BE TAKEN IN ANY DESIGN THAT NO
  1053.   OTHER VOLTAGE SOURCE OTHER THAN THAT OF THE COMPUTER GAMECARD IS PRESENT
  1054.   IN ANY WAY, SHAPE OR MANNER AT ALL TIMES!!!!!!!!!   THERMOCOUPLES FOR
  1055.   MONITORING TEMPERATURES SHOULD NEVER BE USED AS PART OF THIS MONITORING
  1056.   SCHEME!!!!!!!  THIS SHAREWARE VERSION IS NOT AN INSTRUCTION MANUAL FOR
  1057.   THE SELECTING, CONSTRUCTION OR ACTUAL MONITORING OF ANY SIGNAL BY ANY
  1058.   COMPUTER. IF YOU DAMAGE YOUR HARDWARE I AM NOT RESPONSIBLE IN ANY MANNER,
  1059.   FASHION OR DEGREE!!!!!!!!!!!!!!!
  1060.   
  1061.   ******** WARNING ************* WARNING *************** WARNING *********
  1062.   
  1063.   
  1064.   
  1065.   SENSORS
  1066.   
  1067.   First  of  all  what  is  a  sensor.  A sensor  is a  device that  detects
  1068.   something, or measures something. Some display directly the parameter they
  1069.   are measuring,  like a wall thermometer.  It measures the  air temperature
  1070.   and displays  it by  means of a pointer  on a dial or  a column of colored
  1071.   liquid.  Other sensors measure  something but  do not directly display the
  1072.   results.
  1073.   
  1074.   Instrumentation and controls  engineers spend a  lot of time selecting the
  1075.   right device to measure or monitor a particular control application. There
  1076.   are literally thousands  of different sensors.  The following  factors are
  1077.   usually involved:
  1078.   
  1079.   
  1080.           a. A knowledge of the function to be monitored.
  1081.   
  1082.           b. A understanding of the scientific principles involved.
  1083.   
  1084.           c. How does the sensor work.
  1085.   
  1086.           d. What sensor is best for this particular application.
  1087.   
  1088.           e. How much does it cost.
  1089.   
  1090.           f. Who makes it and how do I get one.
  1091.   
  1092.           g. What is involved in getting it to work in a complete system.
  1093.   
  1094.   
  1095.   
  1096.   I will  try to  boil all that  down into something the  average person can
  1097.   understand,  can use  to  monitor things  with a  personnel computer,  can
  1098.   afford,  can readily obtain,  can calibrate, can build and finally can put
  1099.   into a home automation system as part of a complete package.
  1100.  
  1101.  
  1102.  
  1103.                                                                      PAGE 17
  1104.  
  1105.   
  1106.   The devices we  will be talking  about are called  analog sensors.  Analog
  1107.   means it  is  a continuous  measurement.  The speedometer  in a  car is an
  1108.   analog device. It shows your speed at all times and changes its display as
  1109.   your speed changes.  Remember,  we can put four such measurements per game
  1110.   connector into the computer.  (good stuff all right) What might we like to
  1111.   monitor around the house? The following comes to mind:
  1112.   
  1113.   
  1114.           a. Temperature
  1115.   
  1116.           b. Levels  (of tubs, tanks, etc)
  1117.   
  1118.           c. The amount of light (is light or dark)
  1119.   
  1120.           d. Motion
  1121.   
  1122.           e. Weight
  1123.   
  1124.           f. Pressure
  1125.   
  1126.           g. Time
  1127.   
  1128.           h. Humidity
  1129.   
  1130.           i. All those things I haven't thought of yet.
  1131.   
  1132.   
  1133.   Remember that is  for analog measurements,  those where you  could look at
  1134.   the computer and see a continuous display of a parameter.  Like looking at
  1135.   a wall  thermometer  only this  time  the temperature  would  be displayed
  1136.   continuous on the computer screen. A temperature sensor would be connected
  1137.   to the gamecard and  use one of  the four available analog channels on the
  1138.   gamecard.
  1139.   
  1140.   There are other types of sensors than the analog ones we have been talking
  1141.   about for use to  a home control system.  Many sensors sense  something is
  1142.   either on or off,  is high or low, is hot or not hot, etc.  In short these
  1143.   sensors detect one of  two possible conditions.  Usually they are referred
  1144.   to as switches.  The temperature switch in an  attic fan detects the attic
  1145.   is too  hot  or not  hot.  If too  hot  it switches  on (closes  a  set of
  1146.   contacts)  and starts the attic fan.  Their output to the  real world is a
  1147.   set of contacts that usually complete  an electrical circuit to make some-
  1148.   thing happen.  Contacts look like this --[ ]-- when open, and are referred
  1149.   to as  N.O.  or normally open  contacts contacts  when closed  --[/]-- are
  1150.   represented like  this  and are  referred to  as N.C.  or normally  closed
  1151.   contacts.  Another way to think about it  is contacts are the working part
  1152.   of switches.  Examples of switches  around the  house are  light switches,
  1153.   level switches to stop filling the clothes  washer when the water level is
  1154.   correct and many others.
  1155.   
  1156.   Contacts are also referred to as wet or dry.  A wet contact is like in the
  1157.   thermostat  to  start  your  heating  furnace.  Take off  the  cover of  a
  1158.   thermostat and you will see a little  glass tube pinched at both ends with
  1159.   wires going into  the tube.  The tube has a little  ball of mercury inside
  1160.   and is tilted as the temperature changes.  With the thermostat not calling
  1161.  
  1162.  
  1163.  
  1164.                                                                      PAGE 18
  1165.  
  1166.   for heat the mercury  is down in one  end of the tube and the contacts are
  1167.   open. As the room temperature cools a bimetal wound spring tilts the glass
  1168.   tube and  the mercury  covers the  bottom  of the tube  its entire length.
  1169.   Mercury conducts electricity so an electrical circuit is completed through
  1170.   the ball of mercury.  So the term wet contact. A dry contact is just that,
  1171.   dry,  no mercury.  Pinch your forefinger and thumb together,  two contacts
  1172.   close,  a good illustration of  a dry contact.  We can monitor  both types
  1173.   with our computer.
  1174.   
  1175.   So where are we?  We now know what an analog sensor is? What contacts are?
  1176.   We also know we can  monitor both with the computer.  Four measurements of
  1177.   analog and four of contacts. (In the registered version, I show you how to
  1178.   put  about  all the  contacts you  could  want into  the  computer so  the
  1179.   restriction on four contacts isn't really what it seems.)
  1180.   
  1181.   Remember what analog and contacts are.  I use those terms through out this
  1182.   documentation.  Analog is the continuous display  of a measured value.  If
  1183.   you want to see a reading of something displayed and constantly updated on
  1184.   the computer  screen  that will  probably  require an analog  input to the
  1185.   computer.
  1186.   
  1187.   Contacts  are  the  on or  off things  in life.  Contacts are  actuated by
  1188.   switches.  Contacts are about position or status.  Things like is the gate
  1189.   open or  closed.  It could be  halfway open,  a computer reading  a set of
  1190.   contacts would just see the gate is open.
  1191.   
  1192.   The registered version includes the data files,part No.s, curve generators
  1193.   and  instructions  for  four  temperature  sensors and  one  visible light
  1194.   sensor.
  1195.   
  1196.   Industrial type sensors can get very complex.  Most include the ability to
  1197.   measure the  parameter  intended and then  "condition or smooth"  the data
  1198.   before sending it to a computer or other monitoring device. Just because a
  1199.   sensor sees something doesn't mean that what it is seeing is correct.
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.                                                                      PAGE 19
  1226.  
  1227.   
  1228.   
  1229.   
  1230.   
  1231.   FILES OF ACTUAL MONITORING
  1232.   
  1233.   
  1234.   
  1235.   
  1236.   Several files  of actual  monitoring using  the gamecard,  a visible light
  1237.   sensor  and  a  calibrated  temperature   sensor  have  been  included  to
  1238.   demonstrate  this  monitoring  capability.  A  sample  mailbox  monitoring
  1239.   program using a contact  input with a  microswitch to monitor and log when
  1240.   the mail arrives is included.
  1241.   
  1242.   These files were collected by sensors mounted on my connector box and left
  1243.   running in an unattended mode for several days.
  1244.   
  1245.   The visible light sensor  logged the light  out the dining room window and
  1246.   the temperature sensor logged a couple of steamy Boston day's temperatures
  1247.   inside the dining room.
  1248.   
  1249.   The registered  version  includes all instructions,  files and  methods to
  1250.   implement monitoring to this level.
  1251.   
  1252.   The information in  these files can  be further developed  for control via
  1253.   X-10 Power Line Carrier technology.  AUTOMATE Version No.1 (the registered
  1254.   version)  does carry the monitoring through control development with X-10.
  1255.   X-10 is a separate set of software and the hardware is developed, patented
  1256.   and distributed by others.
  1257.   
  1258.   The  registered  version   provides  a   discussion  of  X-10  technology,
  1259.   communication  file  for  controlling  X-10  modules from  within AUTOMATE
  1260.   derived programs  and  additional information  for purchase of  the better
  1261.   X-10 technology,  software for X-10 control by others and full details for
  1262.   integration of all aspects.
  1263.   
  1264.   Control can be via real time information as developed by AUTOMATE, through
  1265.   keyboard inputs,  time generated setpoints by the computer or via computed
  1266.   or  logged  information  based  on AUTOMATE  inputs.  Combinations of  the
  1267.   methods are also possible.
  1268.   
  1269.   To print out the daily log,  select data logging feature from the menu and
  1270.   follow the prompts.
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.                                                                      PAGE 20
  1287.  
  1288.   
  1289.   X-10 POWER LINE INTERFACE SYSTEM
  1290.   
  1291.   
  1292.   Many people have called me with questions about the X-10 technology. There
  1293.   seems to be a lot of interest, some confusion and misunderstanding.
  1294.   
  1295.   First a little history.  First X-10 didn't invent the power line method of
  1296.   communication.  The method of impressing information  on a power source at
  1297.   one location and  reading that information  back from the power source has
  1298.   been around for quite awhile.  A number of industrial  processes use these
  1299.   methods.
  1300.   
  1301.   In the  late 1970's  the X-10  concept  was introduced  through  a line of
  1302.   modules to be controlled  from base transmitters.  Sears,  Radio Shack and
  1303.   others marketed  these systems.  Basically it  was light  control and  few
  1304.   feeble attempts at  burglar alarms  systems and the like.  The systems had
  1305.   problems, were buggy, lot of false triggering.
  1306.   
  1307.   Over the next twenty years the bugs got  worked out of the modules and the
  1308.   general communications method.  What emerged was a  kind of standard.  The
  1309.   code format became a kind of defacto standard because so many modules were
  1310.   produced built on that format.
  1311.   
  1312.   Basically the technology is  to set a  system of codes kind  of like Morse
  1313.   Code. In general there is 256 separate codes possible in the basic set and
  1314.   something called extended codes. To sent the codes the hardware detects as
  1315.   accurately as possible when the power sine wave (the house 220/110 VAC) is
  1316.   alternating current)  is at the  Zero Crossing point.  120 KHz signals are
  1317.   then impressed on the power referenced  to the zero crossing point.  These
  1318.   signals are shaped and have a 1 millisecond duration and are placed on the
  1319.   power in a certain sequence.
  1320.   
  1321.   Kind of like with  a teletype communications  there is a  start portion of
  1322.   the code and then the data is in blocks. It takes a number of power cycles
  1323.   to send one complete X-10 command. The zero crossing point is the same for
  1324.   all power through out the house. So the X-10 modules also have a reference
  1325.   with which to know when a signal starts and can decode the signal strings,
  1326.   validate the data and filter for noise.
  1327.   
  1328.   I have found no problems in the basic X-10 module technology. None seem to
  1329.   produce  large  amounts  of heat  that was  common  in dimmer,  timer type
  1330.   controllers.
  1331.   
  1332.   A lot of  the problems,  folks are  attributing to  poor X-10  modules are
  1333.   actually caused  by  their electrical  systems.  Poorly installed systems,
  1334.   incorrect  grounding,  noise  generating  appliances.  This  explains  the
  1335.   complain, I have all kinds of problems, the guy next door does not. In the
  1336.   registered version section on X-10 I  go into many of these areas,  how to
  1337.   tell  what  is  probably the  cause  of your  problems  and some  possible
  1338.   solutions.
  1339.   
  1340.   The most likely causes of problems are the cheap transmitter/control units
  1341.   and poorly installed or badly retrofitted electrical systems.  A word here
  1342.   about this  offering.  AUTOMATE Shareware  Version 3.0  and its  preceding
  1343.   issues is  basically  an information  program.  I do  not  offer technical
  1344.  
  1345.  
  1346.  
  1347.                                                                      PAGE 21
  1348.  
  1349.   support to the shareware version.  This offering is to inform,  put issues
  1350.   in focus and see  who is really  interested in the  subject of automation,
  1351.   monitoring and control.
  1352.   
  1353.   Registered owners  of AUTOMATE  get full support.  I cannot design systems
  1354.   over the phone.  I can answer questions concerning what you are getting in
  1355.   the registered version.  Registered owners get the full support up to that
  1356.   I can legally do.  If I don't see  the actual installation,  I cannot give
  1357.   specific guidance.
  1358.   
  1359.   What registered owners  do get is  full support in the monitoring area.  I
  1360.   will analysis the  AUTOMATE generated  page prints for problems.  Not just
  1361.   phone  support,  but  real  support  of  looking  at your  problem  on the
  1362.   individual level.  The X-10 support level in more general,  I will look at
  1363.   programs for general faults in the AUTOMATE/X-10 interface. I will not and
  1364.   cannot comment on programs for the  actual control features to any control
  1365.   project.
  1366.   
  1367.   Back to the discussion of X-10. After going through a computer development
  1368.   to  control  X-10,  as I  said  the problems  appear  to be  in  the cheap
  1369.   transmitters/controllers. The computer based systems have none of the time
  1370.   keeping problems. The quality of the transmitted signals is superior and I
  1371.   have never found any of the type problems folks talk about. The quality of
  1372.   the transmitted signal is important, if you put a junky signal out, do you
  1373.   really expect a  perfect reception  on the other end??  The quality of the
  1374.   computer  generated  signals  appears  to  be  very  high  grade.  I  have
  1375.   experienced  no  communication  problems  what  so  ever  between AUTOMATE
  1376.   generated programs and X- 10.
  1377.   
  1378.   So  AUTOMATE's  basic  contribution is  in  the area  of  data collection,
  1379.   ability to have total control of all programming and software development,
  1380.   identify the best hardware available  for monitoring and control including
  1381.   X-10  and  finally   to  put  it   all  together  in   one  fully  usable,
  1382.   understandable  system.  The  X-10  communications  are  in  ASCII  (plain
  1383.   english) and can be accomplished from the keyboard, generated as setpoints
  1384.   in AUTOMATE derived programs or as computed values from AUTOMATE programs.
  1385.   
  1386.   The  X-10  thing  isn't  really a  big  deal when  you  get into  it.  The
  1387.   communications to actually send commands  takes quite awhile when compared
  1388.   to anything in the industrial world. A command sequence is in the order of
  1389.   seconds not milliseconds. Most X-10 systems on the market use only time as
  1390.   the controlling parameter or try to  sell you fancy expensive do-dads that
  1391.   you then jury rig to make some kind of control system. AUTOMATE allows you
  1392.   to do it the right way, with the proper information and system control and
  1393.   at a very good price.
  1394.   
  1395.   I talk a  lot about safety  in both issues  of AUTOMATE.  It is not  to be
  1396.   taken  lightly.  Safety and  the subjects  above are  tied together.  Good
  1397.   safety practices can prevent problems before they occur.
  1398.   
  1399.   The  general  drift  of  the  presentation  through  out  AUTOMATE  is  be
  1400.   responsible,  research your projects carefully,  know what you  are doing.
  1401.   The registered version is that, a careful step by step approach. The level
  1402.   of detail is very high, cautions and warnings are given at the appropriate
  1403.   times and the general  idea is to  progress in an orderly and safe fashion
  1404.   both from  an  equipment and  personnel safety  point  of view.  I welcome
  1405.  
  1406.  
  1407.  
  1408.                                                                      PAGE 22
  1409.  
  1410.   comments from registered  owners of AUTOMATE  when they have their systems
  1411.   up and running.
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.                                                                      PAGE 23
  1470.  
  1471.   
  1472.   
  1473.   ********** WARNING ************ WARNING ************ WARNING ***************
  1474.   
  1475.     WHO SHOULD NOT USE THIS APPROACH TO LIFE ON THE COMPUTER HIGHWAY OF
  1476.     HAPPINESS?
  1477.   
  1478.     ANSWER - ANYONE WHO HAS A COMPUTER THAT THEY JUST CAN'T AFFORD TO LOSE !!!
  1479.   
  1480.     IF YOU HAVE A HIGH PRICED, HIGHLY DEVELOPED, MUST HAVE COMPUTER SYSTEM
  1481.     THAT IS CRITICAL TO YOUR LIFE. TAKE MY ADVISE, DON'T GET ANY MONITORING
  1482.     AND CONTROL, X-10 MODULE ON/OFF APPLICATIONS, HARDWARE OR ANY OTHER "OUT
  1483.     OF THE COMPUTER" STUFF WITHIN TEN YARDS OF YOUR VALUABLE MACHINE. THINGS
  1484.     DO HAVE A WAY OF GOING "BUMP IN THE NIGHT".
  1485.   
  1486.     I HAVE A HARD DISK SYSTEM USED IN MY BUSINESS, WITH ALL SORTS OF
  1487.     DEVELOPMENT TIME IN VARIOUS THINGS. UNDER NO CIRCUMSTANCES WOULD I EVEN
  1488.     CONSIDER IT.
  1489.   
  1490.     GET A ONE DISK DRIVE "BANG AROUND MACHINE" OR IF IT GETS "HURT" TYPE
  1491.     MACHINE THAT YOU CAN STILL GET TO SLEEP. GOOD TIPS ON WHERE TO GET THESE
  1492.     IN THE REGISTERED VERSION.
  1493.   
  1494.     BESIDES IT MORE FUN WHEN YOU CAN GET IT "DOWN IN THE DITCH AND NOT WORRY"
  1495.   
  1496.   *********** WARNING ************ WARNING ************ WARNING ****************
  1497.   
  1498.   
  1499.   GAMECARD
  1500.   
  1501.   
  1502.   
  1503.   Why  use  the  game  card  for  automation and  control  using a  personal
  1504.   computer.  First  its  probably there,  most personal  computers  have one
  1505.   installed.  Second,  if you don't  they are cheap  to purchase and easy to
  1506.   install.  Sears sells a game card with  two game port connectors for about
  1507.   $20.
  1508.   
  1509.   Another big feature is you can easily put both analog and digital (contact
  1510.   closures) type information into the computer.  Four channels of analog and
  1511.   four  contact  closures  are  available  at  each  port connector.  In the
  1512.   registered version I show you how to  increase the number of contacts into
  1513.   the computer  to just  about any  number  you could  want  with no changes
  1514.   required to the gamecard and its very easy to do.
  1515.   
  1516.   Using BASIC or about another programming  language this information can be
  1517.   addressed  and  collected  directly.  Very  nice,  write a  little control
  1518.   program in BASIC and the intelligence  needed to monitor conditions in the
  1519.   outside environment can  be brought in  though the game port and addressed
  1520.   directly  in  the  same BASIC  program.  The commands  to  X-10 technology
  1521.   modules to turn ON/OFF high voltage equipment can also be initiated by the
  1522.   same program. Just what the doctor ordered, we can get into and out of the
  1523.   computer and have total control of all processes.  No archaic gateway card
  1524.   to buy with software that nobody could ever understand let alone ever make
  1525.   it work in an integrated monitoring and control system.
  1526.   
  1527.  
  1528.  
  1529.  
  1530.                                                                      PAGE 24
  1531.  
  1532.   The gamecard can also "trap events".  For contact inputs the gamecard will
  1533.   act like a information  monitor while your  software is off taking care of
  1534.   other business.
  1535.   
  1536.   If you  have  an IBM,  or IBM  clone,  or IBM  compatible  computer with a
  1537.   gamecard the port connector should be a 15-pin,  miniature D-shell, female
  1538.   connector.  Sometimes its a  separate card and  sometimes part of a mother
  1539.   board  but  it  should  be  marked  "GAME".  Some  systems  will  have two
  1540.   connectors, one for joystick #1 and another for joystick #2.
  1541.   
  1542.   
  1543.      The connector should look something like this:
  1544.   
  1545.                      ____________________________________________
  1546.                      [                                           ]
  1547.                      [  8     7    6    5    4    3    2    1    ]
  1548.                      [ ________________________________________  ]
  1549.                      [ \ .    .    .    .    .    .    .    . /  ]
  1550.                      [  \                                    /   ]
  1551.                      [   \ .    .    .    .     .    .    . /    ]
  1552.                      [    \________________________________/     ]
  1553.                      [                                           ]
  1554.                      [    15   14   13   12    11   10   9       ]
  1555.                      [___________________________________________]
  1556.   
  1557.   
  1558.   Look up the gamecard in the  manual that came with the computer.  The pins
  1559.   should be identified like so:
  1560.   
  1561.   
  1562.   
  1563.      Pin 1   +5V                  Pin 9   +5V
  1564.      Pin 2   Button               Pin 10  Button
  1565.      Pin 3   Position             Pin 11  Position
  1566.      Pin 4   Ground               Pin 12  Ground
  1567.      Pin 5   Ground               Pin 13  Position
  1568.      Pin 6   Position             Pin 14  Button
  1569.      Pin 7   Button               Pin 15  +5V
  1570.      Pin 8   +5V
  1571.   
  1572.   If the  manual is  missing or  doesn't  say you  can check  by using  your
  1573.   joystick.  Read pins  2 &  4 with an  ohmmeter while pushing  the #1 push-
  1574.   button on the joystick. Sometimes its wired 2 & 5, but it should be one of
  1575.   the two.  Check the #2 pushbutton (if you have one)  by reading pins 7 & 4
  1576.   (again sometimes its wired 7 & 5).
  1577.   
  1578.   
  1579.   
  1580.        ********** WARNING  ******   WARNING ******   WARNING ******
  1581.   
  1582.   ***** DO NOT TRY TO READ THE PINS ON THE CONNECTOR ATTACHED TO THE ****
  1583.           COMPUTER.  YOU CAN CAUSE DAMAGE.  BE SAFE.  USE THE JOYSTICK.
  1584.   
  1585.   
  1586.   Read pins 1 & 3 for resistance.  you should get a reading of between about
  1587.   20 to 70K ohms by varying the calibration dial on the joystick. Check pins
  1588.  
  1589.  
  1590.  
  1591.                                                                      PAGE 25
  1592.  
  1593.   6 to 8 for resistance and you should get the same readings.
  1594.   
  1595.   If all this checks out, then all the information, programming examples and
  1596.   hookups I give in this offering should work for you.
  1597.   
  1598.   If you  take  your joystick  apart (no  big deal,  isn't very complicated,
  1599.   there isn't much  in there why  do they cost so much?)  you will find very
  1600.   few use all  of the pins  usually only 6 or 7.  Also a good  way to really
  1601.   check things out.  How do gamecards really work? A little more information
  1602.   can be helpful  at this point.  The gamecard generates  a staircase shaped
  1603.   voltage pattern. something like this:
  1604.   
  1605.   
  1606.                           ]__                       5 v
  1607.                              ]__                    4.5 v
  1608.                                 ]__                 4 v
  1609.                                    ]__              3.5 v
  1610.                                       ]__           3 v
  1611.                                          ]__        2.5 v
  1612.                                             ]__     2 v
  1613.   
  1614.   
  1615.   
  1616.   This is not  the actual pattern,  just something to  illustrate the point,
  1617.   the actual  pattern is  much finer between steps.  Just great for  what we
  1618.   want  to  do.  This staircase  voltage  pattern is  compared to  the input
  1619.   voltage developed  across  the resistor  value in  the joystick.  The card
  1620.   selects the staircase voltage value that  closest matches the input signal
  1621.   from the  joystick and  generates a  binary  value for use  by the program
  1622.   software.  So different  resistor  values in  the joystick  wind  up being
  1623.   different binary  values  in the  computer.  Easy to see  how the computer
  1624.   knows  where  the  joy-  stick position  is.  By playing  around  with the
  1625.   joystick demo programs  included you can  see better how  this works.  The
  1626.   pushbuttons do  not use  this staircase  voltage pattern,  just the analog
  1627.   joystick position readings.
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.                                                                      PAGE 26
  1653.  
  1654.   
  1655.   ********************* WARNING *************** WARNING ********************
  1656.   
  1657.   NEVER PUT ANY SIGNAL INTO THE GAME CONNECTOR THAT HAS ITS OWN VOLTAGE
  1658.   SOURCE.YOUR JOYSTICK HAS NO POWER.  NO BATTERIES.  NO POWER FROM A 115
  1659.   VAC WALL RECEPTACLE. THE COMPUTER SUPPLIES ALL THE POWER SOURCE FOR ALL
  1660.   MONITOR AND CONTROL FUNCTIONS THROUGH THE GAMECARD.  ALL!!!!  THAT IS ALL
  1661.   !!!!!  SENSORS THAT I WILL TALK ABOUT ARE PURELY RESISTIVE IN NATURE AND
  1662.   GENERATE NO VOLTAGE OR POWER BY THEMSELVES. IF YOU DON'T KNOW WHAT YOU ARE
  1663.   DOING ASK SOMEONE WHO DOES. ALSO GREAT CARE MUST BE TAKEN IN CONNECTING
  1664.   SIGNALS INTO THE GAMECARD. DO NOT USE ALLIGATOR CLIPS OR JURY RIGGED
  1665.   CONNECTIONS. GET A GOOD CONNECTOR BOX. I GIVE DETAILED INSTRUCTIONS IN THE
  1666.   REGISTERED VERSION ON A CONNECTOR BOX CONSTRUCTION AND CHECK-OUT. A MISTAKE
  1667.   OR ERROR IN DESIGN, HOOKUP OR ACCIDENTAL FAULT CAN DAMAGE YOUR GAMECARD,
  1668.   COMPUTER POWER SUPPLY, CONNECTOR CABLE AND BOX AND SENSORS. KNOW WHAT YOU
  1669.   ARE DOING.
  1670.   
  1671.   ******************** WARNING ***************** WARNING ********************
  1672.   
  1673.   By using  this  staircase voltage  pattern  we can  measure  and calibrate
  1674.   analog measurements  like temperature,  amount of light  (how bright,dim),
  1675.   level,  pressure and  many others.  I give  detailed  instructions in  the
  1676.   registered version  on sensors,  calibration and how to  use the developed
  1677.   signals in a program.
  1678.   
  1679.   The AUTOMATE method of using the gamecard approximates the capabilities of
  1680.   using  a  commercial  8  bit  input  card.  That  is  a  signal resolution
  1681.   capability of one  part in 256.  I have found this  method far more stable
  1682.   than most commercial input cards. The commercial input cards all exhibited
  1683.   problems with the measurement values drifting, especially temperature. The
  1684.   AUTOMATE methods have proven to be remarkably stable and repeatable.
  1685.   
  1686.   A final big reason!!  MONEY !!.  The X-10 technology  does somethings well
  1687.   but sensing and reacting to a dry contact, with no power involved, telling
  1688.   the control system something is happening is not one them.
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.                                                                      PAGE 27
  1714.  
  1715.   
  1716.   
  1717.   COMMUNICATIONS WITH YOUR PC USING INFRARED OR RADIO COMMUNICATIONS
  1718.   
  1719.   
  1720.   
  1721.   Imagine setting in the  old easy chair  and control the house  with one of
  1722.   those TV channel changing clicker controls.  Or being out in  the yard and
  1723.   have  the  personal  computer  automation  system  do  things  around  the
  1724.   homestead via use  of radio signals.  Kind of like carrying  around one of
  1725.   those garage door opener type transmitter.
  1726.   
  1727.   This was always one  of the applications  to design for use with AUTOMATE.
  1728.   At present  I  have several  designs  for both applications  in the works.
  1729.   There is commercial equipment on the market in both areas. All of it is in
  1730.   the hundreds of dollars range,  doesn't appear to be  all that capable and
  1731.   they brush over the description of the software included.
  1732.   
  1733.   So  I  began  working  up  some  very low  cost  alternative applications.
  1734.   Probably  can  get  most  of  the  hardware  complete  and  with a  little
  1735.   modifications have  working systems.  Both applications  built  by me were
  1736.   under $20.  The infrared transitter and receiver  cost me the princely sum
  1737.   of $10.50.
  1738.   
  1739.   With the other few  parts needed this  application is going to cost around
  1740.   $14  when  completed.  Talk about  a bargain.  The unit  will  have twelve
  1741.   different control channels.  That is twelve different  commands capable of
  1742.   being sent  to turn  some on/off  or otherwise.  Control engineers like to
  1743.   talk about how much something cost in  terms of cost per measurement point
  1744.   or control channel. Folks that's about a buck a control channel.
  1745.   
  1746.   Like all AUTOMATE applications the methods will be fully described.  Bills
  1747.   of material furnished  by model  number and  suppliers referenced.  Sample
  1748.   programs for the application will be included.  A picture will be included
  1749.   of any complete prototype hardware.
  1750.   
  1751.   This application will be included as part of the AUTOMATE TOOL-BOX.
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.                                                                      PAGE 28
  1775.  
  1776.   
  1777.   
  1778.   ROBOTICS
  1779.   
  1780.   
  1781.   The shareware version includes a questionnaire attached to the order form.
  1782.   That questionnaire allows me to determine areas of potential user interest
  1783.   in which to  develop marketable products.  The two most asked for products
  1784.   are something  to do  with the telephone,  either control external  to the
  1785.   house via  the telephone,  message logging/numbers dialed  out or incoming
  1786.   caller ID and the other big requested area is robotics capabilities.
  1787.   
  1788.   I am in the process of developing a robotics capability for AUTOMATE. This
  1789.   will be a separate commercial program with no shareware information.  This
  1790.   is a fairly time hungry project.
  1791.   
  1792.   Brief details. Just getting into the project.
  1793.   
  1794.   The project will include software,  software drivers,  instruction manual,
  1795.   hardware to connect to the parallel port.
  1796.   
  1797.   The robotics capability requires a  rather fast acting control loop.  This
  1798.   is not  possible  the X-10  technology  the delay  in  sending one  signal
  1799.   command is in the order of seconds.
  1800.   
  1801.   Plus this project opens many other interesting possibilities. Things like:
  1802.   
  1803.   1. Motor speed control
  1804.   
  1805.   2. Quick acting control loops
  1806.   
  1807.   3. Monitoring of many more parameters, capacitance, voltage, current, etc
  1808.   
  1809.   4. Measuring light color and other properties of light
  1810.   
  1811.   5. Positioning applications, to include sensing and measurement
  1812.   
  1813.   6. Digital storage techniques for audio, analog data, etc.
  1814.   
  1815.   7. Speech techniques
  1816.   
  1817.   8. Oscilloscope type displays
  1818.   
  1819.   9. All those analog to digital or digital to analog applications.
  1820.   
  1821.   A preliminary look  shows the  present developed capabilities  of AUTOMATE
  1822.   with  inputs  through  the  connection  box complement  this  project very
  1823.   nicely. The connector box provides usable very cheap input ability.
  1824.   
  1825.   No time  frame for  having a marketable product.  The hardware required is
  1826.   probably going to have to be  pre-manufactured on maybe in kit form.  Just
  1827.   have to play it by ear.
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.                                                                      PAGE 29
  1836.  
  1837.   
  1838.   CALLER ID AND OTHER TELEPHONE APPLICATIONS
  1839.   
  1840.   
  1841.   
  1842.   The telephone applications  of automation are  an area of  great interest.
  1843.   The telephone companies are installing  a Caller ID capability.  What this
  1844.   allows is for the receiving party of  the telephone call to see the number
  1845.   of the calling party, including the area code.  I guess the rational is to
  1846.   see who  is really  making all those  calls with just  the heavy breathing
  1847.   sounds.
  1848.   
  1849.   There are  a number  of systems on  the market which will  monitor and log
  1850.   your out going calls,  length of the call in minutes, seconds, time of day
  1851.   the call was placed and the number called.
  1852.   
  1853.   A number  of  AUTOMATE users  indicated  they presently  use  some type of
  1854.   telephone automation equipment.  Apparently it is very useful for checking
  1855.   the accuracy to the telephone bill or  determining who in the household is
  1856.   running up the phone bill. A number of systems have the ability to log the
  1857.   information on a personal computer.
  1858.   
  1859.   There is  a new  integrated circuit chip  on the market for  the caller ID
  1860.   function.  A brief look  and talking to  one of the makers representatives
  1861.   seems to be fairly simple circuits.  A handful of components. The computer
  1862.   serial port would power  the circuit and  there is some sort of hook-up to
  1863.   the telephone.
  1864.   
  1865.   The only rub I've heard of, the person or company building the circuit has
  1866.   to certify  that  the operating  device meets  some standard.  There is  a
  1867.   standard  set  by  Ma Bell  and  all connected  equipment  must meet  than
  1868.   standard.  Apparently not that tough to do, but if requires test equipment
  1869.   and some skills in that area.
  1870.   
  1871.   The whole idea works around the principle  of when a call comes in,  after
  1872.   so many  rings  the calling ID  information is available  on certain phone
  1873.   connections.  A signal generates an interrupt and the computer software is
  1874.   able to read and process the information from the serial port.
  1875.   
  1876.   Haven't done that  much work  on the application yet.  Am getting a IC set
  1877.   for that purpose,  after a little more study maybe  will include it in the
  1878.   AUTOMATE stable. No promises at this point.
  1879.   
  1880.   I'm sure  the equipment  is going  to  be available  very  shortly on  the
  1881.   commercial market. That may prove to be the way to go. Buy a pre-certified
  1882.   hunk of hardware  and it  would probably include some software.  Like most
  1883.   things what will be  the price and  will the phone  company want something
  1884.   extra?
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.                                                                      PAGE 30
  1897.  
  1898.   
  1899.   
  1900.   PROGRAMMING
  1901.   
  1902.   
  1903.   Groan, don't tell me programming is involved.
  1904.   
  1905.   Yes,  Virginia programming is part of the deal to have really capable home
  1906.   automation custom to your application.
  1907.   
  1908.   Programming has gotten a  very bad rap.  AUTOMATE 1.0 to 2.0 shareware and
  1909.   its  attendant  registered   version  were   developed  around  the  BASIC
  1910.   programming language.  All program lines  had line  numbers and  would run
  1911.   under GWBASIC,  BASICA in a  interpreted mode.  All executable files where
  1912.   prepared with  the  IBM BASIC compiler.  The compiler  was buggy,  lots of
  1913.   teeth gashing, muttering and sometimes worse.
  1914.   
  1915.   The good thing about sticking with the BASIC language is most folks have a
  1916.   foggy idea of  the language,  it is  upwards and  downward compatible with
  1917.   about all versions ever  produced and is  still the language of choice for
  1918.   many  data   acquisition   systems,  large   data  file   manipulation  or
  1919.   control/automation work.
  1920.   
  1921.   AUTOMATE  3.0  and  up  will   use  the  Microsoft  QuickBasic  integrated
  1922.   programming environmnent. All prior AUTOMATE BASIC programs will run under
  1923.   this  environment.  The  QuickBasic  4.5  is  totally compatible  with the
  1924.   AUTOMATE concepts and objectives.  First is it very affordable.  Microsoft
  1925.   QuickBasic version 4.5 can be purchased from:
  1926.   
  1927.                   Computer Discount Warehouse
  1928.                   2840 Maria Avenue
  1929.                   Northbrook, Il. 60062
  1930.                   1-800-729-4239
  1931.                   1-708-498-1426 (in Illinois)
  1932.                   1-708-291-1737 (FAX)
  1933.   
  1934.   For a price around $73 including all charges.  This is the lowest price, I
  1935.   seen advertised.
  1936.   
  1937.   QuickBasic  allows  many  of the  more powerful  programming  features and
  1938.   program design methods available in some of the more erubescent languages.
  1939.   Its downward compatible  feature coupled  with the advanced  features uses
  1940.   what you already  know and builds  toward the more advanced features.  The
  1941.   commonsense approach.  The QuickBasic makes .EXE files smooth as silk, any
  1942.   problems it runs them down, puts the cursor right on the offending critter
  1943.   and has a help section to explain what is wrong.
  1944.   
  1945.   QuickBasic has  an  excellant tutoral,  is menu driven,  can be used  in a
  1946.   object module library mode.  In addition users can  very easily turn their
  1947.   BASIC control  and  monitoring programs  into DOS executable  files (those
  1948.   with the .EXE extentsions).  I highly recommend  the product.  In addition
  1949.   the compiled programs run  much faster and  are much easier to  use in the
  1950.   everyday environment.
  1951.   
  1952.   QuickBasic consists of  four 360K disks.  It requires a hard  disk or high
  1953.   capacity floppy  drives to  use the product.  I use it on  a hard disk and
  1954.  
  1955.  
  1956.  
  1957.                                                                      PAGE 31
  1958.  
  1959.   just love  the system.  Microsoft has a winner,  the novice programmer has
  1960.   been well considered.  With a BASIC manual, a little practice, you will be
  1961.   able to handle anything in AUTOMATE in very short order.  QuickBasic has a
  1962.   458 page manual and the documentation is excellant.
  1963.   
  1964.   QuickBasic is self installing and can be customized to the users taste.  A
  1965.   very nicely  done product.  QuickBasic is  far more  particular about  its
  1966.   syntax than is plain vanilla BASIC.  The other big advantage is QuickBasic
  1967.   does not have the 64  K limit to program size.  Getting into large control
  1968.   programs with  lots  of graphic displays  can really produce  the lines of
  1969.   program. QuickBasic can handle a 640 K program.
  1970.   
  1971.   Each module is  still restricted to  a 64 K  block size.  The way to write
  1972.   huge programs is lay  out the organization  first to ensure each module is
  1973.   less than 64K.  Modules are then  compiled to  make object files and those
  1974.   can be  linked to  make the huge programs.  The code is  pretty compact in
  1975.   QuickBasic so 64 K is a fairly capable chunk of code.
  1976.   
  1977.   The whole  programming thing  is very  over done.  I constantly  see folks
  1978.   referring to "SOFTWARE" with all sorts of strange notions. All software is
  1979.   essentially only two things.
  1980.   
  1981.              1. Program steps to execute instructions
  1982.              2. Data to be manipulated by those instructions
  1983.   
  1984.   With  QuickBasic  and  a simple  instruction  book like  the  old Sinclair
  1985.   Manuals or other introductory manual anyone  can master the skills in very
  1986.   short order.  Your childern who  have taken  the most rudimentary computer
  1987.   course can walk you through the process.
  1988.   
  1989.   The QuickBasic programs can also be run  under QBasic which is included as
  1990.   part of MircoSoft's DOS 5.0 and 6.0 releases.
  1991.   
  1992.   I have Borland's Turbo  C and Turbo PASCAL  4.0 and I can chug along but I
  1993.   really love  the QuickBasic.  I am  not the  most dazzling programmer,  so
  1994.   nothing  is  going to  get very  complicated.  Where required  all program
  1995.   source code will always have an  accompanying written text description and
  1996.   the source code.
  1997.   
  1998.   A number of folks  call and a  very disappointed that everything is not in
  1999.   the C language. If its not in C it must not be very capable.
  2000.   
  2001.   The simple answer is, it just isn't required.  That fine detail of control
  2002.   and capability  of  C or  Pascal,  just isn't required.  In some  cases it
  2003.   actually gets in the way. Blinding speed isn't that important either. When
  2004.   moving into robotics,  I can see  some assembly  language routines will be
  2005.   required but  QuickBasic  is very capable  of bolting those  on piggy back
  2006.   style.
  2007.   
  2008.   C and Pascal don't give you any faster access to I/O than does QuickBasic.
  2009.   The compatibility problems between different  versions of Pascal can drive
  2010.   you up a wall.  The data handling  and control  routines are actually more
  2011.   compact  in  QuickBasic.  Why  do  some  folks  like  life  complicated as
  2012.   possible? Beats me.
  2013.   
  2014.   A good understanding of the control concepts and application techniques is
  2015.  
  2016.  
  2017.  
  2018.                                                                      PAGE 32
  2019.  
  2020.   far,  far more important than all of the rigamarole about langauges or the
  2021.   fine hair splitting some folks like to engage in.
  2022.   
  2023.   Just using the program modules provided in the registered versions, making
  2024.   minor alterations and  using QuickBasic  can develop very capable,  custom
  2025.   home automation systems.  The AUTOMATE  approach will  get slicker as time
  2026.   goes  by.  Modules  will  be  provided in  vehicles like  TOOL-BOX  so the
  2027.   programming can become more an editing function than writting of a control
  2028.   program.
  2029.   
  2030.   The TOOL-BOX has  been developed to  have each application compiled to run
  2031.   as a stand alone application.  There is a manual for each application.  In
  2032.   addition the source code is included for each application. That way if you
  2033.   don't want to get into the source  code you can run a standard application
  2034.   program.
  2035.   
  2036.   All AUTOMATE programs will eventually get redone in QuickBasic 4.5.  Those
  2037.   will be compiled and  be menu driven.  I highly recommend  the QuickBasic.
  2038.   The programs are much smaller, much easier to write and understand and any
  2039.   complex situation it's QuickBasic hands down.
  2040.   
  2041.   The QuickBasic also  includes a  very slick text editing feature.  Kind of
  2042.   like a word processor in many ways.  You can copy,  move, delete and other
  2043.   wise manipulate large blocks of source code very efficently.  This feature
  2044.   is available within  the programming envirnoment.  It really proved useful
  2045.   in the development of the TOOL-BOX.
  2046.   
  2047.   Some applications will  be complete stand  alone programs that also can be
  2048.   linked together to make large integated control programs.  There will also
  2049.   be very basic text instructions in most areas.
  2050.   
  2051.   More functions  will  get bundled,  compiled and have  set-up routines via
  2052.   menus. The source code will always be provided for the daring folks.
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.                                                                      PAGE 33
  2080.  
  2081.   
  2082.   
  2083.   
  2084.   THE SOLAR ENERGY PROJECT
  2085.   
  2086.   
  2087.   Included in this shareware  version is a  bit of information about a drain
  2088.   down solar energy collection system being designed by the author.
  2089.   
  2090.   I have always been very interested in solar energy. Over the years, I made
  2091.   accommodations for adding it  to my house.  I dug a pit  for the hot water
  2092.   storage area under the front porch.  I installed part of the piping system
  2093.   to interconnect the system.  I researched, researched, did costs analysis,
  2094.   more on paper dreaming.
  2095.   
  2096.   The same project impediments  would always pop up.  One was the commercial
  2097.   available control systems. Expensive, poorly designed, just not what I was
  2098.   looking for in  a control system.  I talked to  a number  of folks who had
  2099.   sprung for a commercial system in the days of the big energy shortages. Do
  2100.   you remember those days?
  2101.   
  2102.   Many of  the  systems didn't  last.  Operated poorly,  the warranties were
  2103.   worthless.  The vendors had all gone bankrupt,  gotten out of the business
  2104.   or just plain run off.
  2105.   
  2106.   Another impediment was  total system cost.  The collectors were expensive.
  2107.   None performed up to specifications,  were easily damaged,  sufferred from
  2108.   corrosion, had problems with leaking and deteriorated over time.  For cold
  2109.   climates  (Boston  does  get  cold)  most  systems  have  multiple  pumps,
  2110.   antifreeze loops and other Rube Goldberg craptrap.
  2111.   
  2112.   Ta-daa, enter SUPER AUTOMATE to save the day. AUTOMATE could do the system
  2113.   control  in  real  bang-up  style.  I  could  design an  all steel  welded
  2114.   collector from scrap  parts laying around.  Use some tempered glass sheets
  2115.   (saved from going to increase our dump capacity)  and have the lowest cost
  2116.   collector around, like almost free.
  2117.   
  2118.   Use some door length ordinary mirrors to have system gain. Why not have at
  2119.   it.  Drag out ye olde welder, get some 1" square channel, use the old chop
  2120.   saw,  weld the channel up  in a serpentine configuration,  weld on backing
  2121.   plates. Presto, one super energy collecting device and this baby will take
  2122.   full home heating  system pressure.  (Up to  30 psi).  One instant plug in
  2123.   module that can heat the house direct if required.
  2124.   
  2125.   AUTOMATE  to  the rescue.  AUTOMATE can  do  very complex  logic,  measure
  2126.   temperature,  control  115  Vac  pumps  and solenoid  control valves,  run
  2127.   different modes depending on the season, do data collection, be controlled
  2128.   from  the  keyboard  of  my control  computer.  Winter approaches  and the
  2129.   project grinds to slow pace as the weather gets worse.
  2130.   
  2131.   Playing around one night  designing the system.  Why not do a recreational
  2132.   programming exercise to  see what  this system will  look like.  The solar
  2133.   demo  program  is  born.  There is  not  room on  this disk  to  include a
  2134.   simulation of the solar project.
  2135.   
  2136.   The drain down feature removes the water from the system collector and any
  2137.  
  2138.  
  2139.  
  2140.                                                                      PAGE 34
  2141.  
  2142.   areas subject to freezing.  The attic does not go below freezing. How do I
  2143.   know?  Temporary AUTOMATE temperature measuring and data logging over last
  2144.   winter.  Great for  those  little projects  like what is  really happening
  2145.   there all the time.
  2146.   
  2147.   The solar energy  program will probably  be fully developed as a shareware
  2148.   stand  alone  program.  A control  program  will get  written and  will be
  2149.   available through one of the AUTOMATE commercial offerings.
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.                                                                      PAGE 35
  2202.  
  2203.   
  2204.   
  2205.   WEATHER STATION
  2206.   
  2207.   Again a number of ideas to develop for AUTOMATE come from the users of the
  2208.   registered version.  A couple of comments on  the order form questionnaire
  2209.   are responsible for this application.
  2210.   
  2211.   They said you already have ambient temperature and daylight why not go all
  2212.   the way  and develop  the bulk  of  measurements found  in  a home weather
  2213.   station. Good idea.
  2214.   
  2215.   This project is in  the very preliminary stages.  The shareware version of
  2216.   AUTOMATE gets updated about  once a year.  The TOOL-BOX and the Registered
  2217.   Version  are  worked on  a continuous  basis.  So this  is  an attempt  to
  2218.   preguess how the weather station will finally work out.
  2219.   
  2220.   Probably fit into  the TOOL-BOX because  it is a  stand alone application,
  2221.   will get the full graphics treatment.
  2222.   
  2223.   What can be added.  Wind Speed and Wind  Direction for sure,  maybe a rain
  2224.   and snow fall detector and gauge.  Prototypes will get built and a picture
  2225.   included. The calibration procedures will have to be developed. Wind speed
  2226.   and direction seem very plausible on paper.
  2227.   
  2228.   Other possible  parameters  might be  a barometer  and humidity.  This all
  2229.   brings up the point won't I run  out of analog channels pretty quick.  No,
  2230.   that requirement to  expand the analog  channel capability has  been under
  2231.   consideration for some time.  So another application would be to develop a
  2232.   way to pack the entire weather station into one analog channel.
  2233.   
  2234.   There  are  examples  of  this  requirements  from  things  I  did in  the
  2235.   industrial world.  So I'm  fairly confident  it can be done.  Also a small
  2236.   drop in commercial data acquisition board is being looked at to expand the
  2237.   capabilitites.  Some of this  runs into the  things that will  be required
  2238.   when the robotics part gets tackled.
  2239.   
  2240.   The bottom  line is  it will  all  have to  meet  the AUTOMATE objectives.
  2241.   Everything has  to  be capable of  being integrated together  and be under
  2242.   direct control of the user.  That probably means source code compatible to
  2243.   the overall ojectives from each application.
  2244.   
  2245.   I'm always a little amused when  researching a new project like this.  The
  2246.   prices and promises for some of the commercial versions. Plus when you ask
  2247.   that question, can this thing run in the background, can I use my personal
  2248.   computer to monitor other things at the same time.  Usually either silence
  2249.   or mumblings about yes,  sure,  maybe but it's up to you to figure out how
  2250.   its done.
  2251.   
  2252.   Could get pretty wild, couple X-10 to the weather. Wind speed over 20 MPH,
  2253.   maybe make the coffee early.
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.                                                                      PAGE 36
  2263.  
  2264.   
  2265.   
  2266.   GENERAL AUTOMATION AND CONTROL THEORY
  2267.   
  2268.   Control theory brings to mind,  lots of math,  complicated theory,  arcane
  2269.   stuff and just  so much mumbo-jumbo.  In truth it is far  from that and in
  2270.   the everyday home setting can be applied with great results,  all you have
  2271.   to know is  a few  of the principles involved.  Have some common sense and
  2272.   control theory can be  applied to many situations.  I will try to show how
  2273.   some of those principles are applied in the everyday world.
  2274.   
  2275.   First a  little bit  about control  engineering.  Basically it is  hard to
  2276.   master from schooling,  the best control engineers learned the trade in an
  2277.   apprentice fashion.  When applied to the real world its about knowing your
  2278.   equipment,  knowing the application, knowing what not to do, understanding
  2279.   how the design  process works,  organization,  experience,  history of the
  2280.   trade,  knowing a  little  about what everyone  does to make  a successful
  2281.   project,  a  little  programming  skill and  finally a  lot  about SAFETY,
  2282.   SAFETY, SAFETY and more SAFETY.
  2283.   
  2284.   When applied  to  home applications  it  can be  broken  down into  simple
  2285.   principles. Some of those principles to be aware of are:
  2286.   
  2287.   FAIL SAFE CONCEPT  - Fail  safe is just that,  when something fails  it is
  2288.   inherently safe in  its failed state.  Example:  When a light burns out it
  2289.   doesn't present much  of a threat,  you just don't get any light.  This is
  2290.   true even though  the power to  the light is  still on.  Control engineers
  2291.   spend a lot of time asking,  what happens when this device fails.  Another
  2292.   example of fail safe:  The power to the burner and fuel oil solenoid valve
  2293.   of a  home fuel  oil fired  furnace  comes through  the  contacts of  high
  2294.   temperature sensing  probe and  other safety  sensors.  These sensors  are
  2295.   designed to  fail  or actuate  with  their control  contacts  in the  open
  2296.   position. With the contacts open, the burner and fuel oil cannot get power
  2297.   to operate and the entire system shuts down.
  2298.   
  2299.   Most  appliances  have  their  fail  safe  concept  built in.  Example:  A
  2300.   dishwasher must have the door closed and latched to get power to the timer
  2301.   to start the washing cycle.  If there is a problem  and the door is opened
  2302.   to check on the problem the appliance is inherently fail safe. Opening the
  2303.   door removes power from  all operative functions.  The water fill solenoid
  2304.   valve cannot get power to open and flood the kitchen floor.
  2305.   
  2306.   Most computer control is only to the level of operating a unit.  Like: The
  2307.   computer might turn power  on to the  dishwasher but would not perform the
  2308.   functions to  control  the washing  cycle.  Only a  fool tries  to put all
  2309.   control functions into a computer.  Computers are not inherently fail safe
  2310.   devices. In industry many systems rely on hard wired contacts with sensors
  2311.   on the actual  equipment to  back up the  computer control.  If there is a
  2312.   problem the hard wired sensor win any argument between it and the computer
  2313.   as to what is safe.
  2314.   
  2315.   With home automation  becoming a  real possibility many manufacturers will
  2316.   be  hawking  all  sorts of  equipment  and gizmos  to  be controlled  from
  2317.   computers.  Be careful. A good question to ask yourself is "would I really
  2318.   do this if no computer was involved"? Computer control can actually make a
  2319.   safe condition into  an unsafe one.  Example:  Put a electric  room heater
  2320.  
  2321.  
  2322.  
  2323.                                                                      PAGE 37
  2324.  
  2325.   near a pile of papers in the off condition,  walk away and have a computer
  2326.   turn it on a later time.
  2327.   
  2328.   PERMISSIVES - A  permissive is a  device that allows  something to happen.
  2329.   Our above example of the oil fired furnace, the safety sensor contacts are
  2330.   permissives. They must be closed to get power to the fuel valve and burner
  2331.   in order for the system to operate.  Computer control is very good because
  2332.   it allows for very extensive development of permissives in complex control
  2333.   situations.  Usually a combination  of contacts  sensing something  in the
  2334.   real world  and  software permissives in  order for an  action to proceed.
  2335.   Home control can  benefit from this  power by bringing contact information
  2336.   in thru the  gamecard and  developing software information  through analog
  2337.   information  allows  for  very  powerful  design  concepts.  Solar  energy
  2338.   collecting systems for example.  The general idea of  permissives and fail
  2339.   safe operation are closely tied together in most applications.  In general
  2340.   if you  are trying  to get a personal  computer to do something  in a home
  2341.   environment where the concept is unsafe by itself, using a computer is not
  2342.   going to  make  it safe.  Think out  any application.  Understand what  is
  2343.   involved.  It is very easy to think I'll write a program to take care of a
  2344.   problem.
  2345.   
  2346.   
  2347.   ADAPTIVE CONTROL - Adaptive control is often touted as control that learns
  2348.   from its own actions.  In practice it is really  a number of predetermined
  2349.   courses of action to a given situation. It is usually the concept to which
  2350.   people  refer  when  raving  about  the power  of  computer control.  Some
  2351.   examples:
  2352.   
  2353.   Say you are trying to  measure a range of  32 to 600 /F but can't find one
  2354.   sensor to do it  in a satisfactory manner.  But you do find  a sensor that
  2355.   can measure  32 to  350 /F  and one  for the  range of  300 to 650 /F.  By
  2356.   connecting  both  to  the computer  and  then having  the  software switch
  2357.   sensors at the appropriate time a satisfactory  solution could be a had to
  2358.   your problem.
  2359.   
  2360.   Industrial applications use a lot of adaptive control routines.  It is the
  2361.   basis which  allows  many complicated processes  to be controlled  to very
  2362.   tight and efficient setpoints.  Many processes will measure the same thing
  2363.   with more than one sensor and then have  the computer switch on the fly if
  2364.   it detects a failure in a sensor. Great concept to understand.
  2365.   
  2366.   A good understanding of adaptive  control concept and computer programming
  2367.   is the dynamite combination.  This combination allows solving many complex
  2368.   problems or just getting you out the sticky I don't have the right sensors
  2369.   bind.
  2370.   
  2371.   
  2372.   FEEDBACK - Feedback  is a complicated  sounding concept but in practice is
  2373.   quite  simple.  In general  is information  returned to  tune,  correct or
  2374.   adjust  an  on  going  event.  It  is  probably  the  one  concept  that a
  2375.   misunderstanding of can get a would-be home automator into big trouble.
  2376.   
  2377.   Example:  You are controlling greenhouse grow  lights to maintain adequate
  2378.   light for the plants at all times.  Just turning them on  based on time of
  2379.   day may not  be energy efficient.  So banks of grow  lights are installed.
  2380.   The overall light  level is  sensed in  the greenhouse,  and banks of grow
  2381.  
  2382.  
  2383.  
  2384.                                                                      PAGE 38
  2385.  
  2386.   lights are switched  on or off  to maintain that  certain light level.  On
  2387.   most days all lights  would be off and  then come on as the light fades at
  2388.   sunset.  On bright moonlight  nights less lights  would be on than on dark
  2389.   nights.  The information provided by the sensing of the amount of light is
  2390.   feedback. That information allows adjusting or correction of the amount of
  2391.   light by varying the number of banks of grow lights.
  2392.   
  2393.   So how can feedback get you into trouble.?  Basically by causing something
  2394.   called cycling or sometimes called "pumping".  Take our above example: Say
  2395.   a bank of grow  lights just turned  on to maintain a  certain light level.
  2396.   The overall light sensor detects the  increased light level after the bank
  2397.   of lights  turns on.  The software program  in the  computer reads the new
  2398.   light level reported by  the sensor and  thinks the light level  is now to
  2399.   high and  turns off  a bank of lights.  Its now too dark,  so the computer
  2400.   turns on a bank  of lights and  the cycle repeats and  repeats because the
  2401.   computer soft- ware  cannot find a  level which is  just right.  This is a
  2402.   common problem that  must be guarded  against in all control applications.
  2403.   Microprocessor  based  control  is particular  akin to  this problem.  The
  2404.   process itself can be the problem, the setpoint in the software can be the
  2405.   problem or the way  the sensor is mounted  can be the problem or finally a
  2406.   combination of all of the situations. Cycling can be a problem even in the
  2407.   simple program just based on time with no analog inputs.
  2408.   
  2409.   The connector box described in the  registered version comes in very handy
  2410.   in detecting these problems as it can act as a checkout lab or development
  2411.   board.  This  allows  checkout  of the  software and  its  sensors without
  2412.   actually  installing   the   equipment.  X-10   technology  can   also  be
  2413.   incorporated in the lab checkout scheme.
  2414.   
  2415.   It is not something to be afraid or excited about, instead something to be
  2416.   aware is a common problem.  It is something to be detected during software
  2417.   checkout in a lab setting  before installation of an application.  Cycling
  2418.   can still  occur after  lab checkout  if  the problem  is  related to  the
  2419.   process  feeding  back  information that  is causing  the cycling.  Sensor
  2420.   mounting (the  way and  manner something is detected)  can be the problem.
  2421.   The other  common cause  is too narrow  a control band in  the software to
  2422.   turn something on and then off.  Some cycling problems may  be inherent in
  2423.   the application.  These can  be  controlled by  having the  software leave
  2424.   something for a minimum  amount of time  as long as no unsafe or operating
  2425.   parameters are exceeded.
  2426.   
  2427.   Cycling can and  does destroy equipment.  Trying cycling an ordinary light
  2428.   wall switch and  see how  long the light  bulb lasts.  Cycling causes most
  2429.   electrical equipment to increase in operating temperature. Again something
  2430.   to be watched for carefully in designing projects,  programming,  software
  2431.   checkout and finally in installation and checkout of that installation.
  2432.   
  2433.   The purpose of this  discussion has not  been to alarm anyone  or to deter
  2434.   anyone from  using home  computer automation type control.  Instead it has
  2435.   been to point out there are a logical principals involved and well planned
  2436.   projects that is thoroughly understood can be very beneficial.  Be wary of
  2437.   manufacturer claims of easy, foolproof gizmos. Just take this software and
  2438.   plug it in and lots  of magic will immediately happen.  Understand what is
  2439.   being offered  and does  it fit  your application.  No industrial  control
  2440.   engineer will take  precanned solutions  and just plug  them in.  No major
  2441.   manufacturer of industrial control  equipment will offer any.  Examples of
  2442.  
  2443.  
  2444.  
  2445.                                                                      PAGE 39
  2446.  
  2447.   how  to  program  their  equipment  and  software  that  demonstrates  the
  2448.   capabilities  are  usually all  you will  get.  Somewhere out  there  is a
  2449.   programmer who is  going to write  the worlds perfect  menu driven control
  2450.   program to solve  all home applications.  He is a fool  and the person who
  2451.   tries to  use it  is a fool.  There is liability involved,  probability no
  2452.   matter the number or manner of disclaimers offered.
  2453.   
  2454.   In the registered  version are example  programs for use in monitoring and
  2455.   control of the  real world environment.  Just as important are discussions
  2456.   of  how  to  "trim"  your  programs  and  sensors to  adjust  them to  the
  2457.   particular application.  Pre-canned programs WILL NOT work  in all or even
  2458.   most situations.  Each computer,  program,  sensor and application has its
  2459.   own set  of characteristics.  The registered  version  provides the  basic
  2460.   knowledge  required  to  fit the  measurement to  the application.  A high
  2461.   degree  of   programming   knowledge  is   not  required,  just   a  small
  2462.   understanding of BASIC.
  2463.   
  2464.   The registered version programs are working examples.  More important they
  2465.   are  taken   though   all  steps,   design  of   equipment,  construction,
  2466.   calibration, curve generation, data fitting and actual coding of a routine
  2467.   to use with that information.  Also explained are some conditioning,  data
  2468.   validation   and   smoothing   techniques  required   to  get   a  working
  2469.   installation.  All  required  information is  provided with  instructions.
  2470.   Where programs  are complied,  appropriate source  code  is furnished  for
  2471.   those wanting to modify for their use.
  2472.   
  2473.   
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.                                                                      PAGE 40
  2507.  
  2508.   
  2509.   AUTOMATION AND CONTROL LAB
  2510.   
  2511.   It won't  take long  after reading  and  playing with the  demos that most
  2512.   people who are into computers will say "I've  just got to try some of this
  2513.   control stuff".  Maybe you don't have any home projects on the menu. Maybe
  2514.   you don't  even  own the place.  How to do  some projects.  You got it,  a
  2515.   automation and  control lab.  It doesn't  have  to be  fancy.  A few  X-10
  2516.   modules,  a gateway and a few lights,  the gamecard/connector box and some
  2517.   analog and contact inputs.
  2518.   
  2519.   The  lab  has  many functions.  If you  design home  projects to  actually
  2520.   install,  the software has to  be tested and  a lab situation  is the best
  2521.   way.  Plus labs are great fun, maybe the best computer fun ever. I used to
  2522.   design  small  control  projects using  programmable controllers  (kind of
  2523.   industrial computer dedicated  to control)  and I would  take a controller
  2524.   home set it up in the den and check out software at night.
  2525.   
  2526.   Some of the  industrial machines have  some of the  lab functions designed
  2527.   in.  Like most consist of a control unit (computer), a power unit, a track
  2528.   unit with input/output signal modules and  a box to program the unit.  The
  2529.   track unit with its modules had LED's (lights) to show when output modules
  2530.   were  turned  on/off  and  the  contact  input modules  had  little toggle
  2531.   switches built in to simulate  contacts closing in the factory.  I built a
  2532.   analog generator box and presto, one small factory application in the den.
  2533.   I also built a  wooden mounting rack so  it was mounted very  similar to a
  2534.   factory mounting and was safe.
  2535.   
  2536.   The gamecard input box I designed can be used as a lab. The design is such
  2537.   that inputs can be simulated even if no actual automation project is being
  2538.   produced.  The demos  and  the joystick  is a kind  of lab.  The design is
  2539.   simple but it does the job.
  2540.   
  2541.   Automation labs  are  fun but  you can  get  into trouble.  There is great
  2542.   temptation to do unsafe things. Like having 115 VAC on exposed wiring with
  2543.   alligator clip jury rigs, etc. Using the gamecard as an input, having jury
  2544.   rigged inputs.  If high  voltage  is involved  and exposed  a  mistake can
  2545.   result in short circuits, smoke, equipment damage and maybe even injury or
  2546.   death.  The US  Navy  has about  1000  sailors killed  each  year even  in
  2547.   peacetime. Looking at who gets killed, it falls into three categories.
  2548.   
  2549.   Sailors being  killed  in accidents  on  the dangerous  flight  deck of an
  2550.   aircraft carrier, sailors being killed by electrocution and others.  Those
  2551.   being  killed  by   electrocution  are   usually  sailors  who  are  radar
  2552.   technician, electrician or electronic technician.  All had formal training
  2553.   in their jobs, safety training and experienced supervision. The Navy has a
  2554.   safety program  where  films called "your  deadly shipmate -  115 VAC" are
  2555.   shown. Even with all this they still are killed, sometimes several hundred
  2556.   each year.  Most are very young,  just out of training school.  There is a
  2557.   moral to all  this "Rookies  and the careless  get hurt".  BE VERY CAREFUL
  2558.   WHERE CHILDREN ARE INVOLVED IN THE HOME ENVIRONMENT.
  2559.   
  2560.   The analog  and  contact inputs to  the computer through  the gamecard are
  2561.   inherently safe.  The highest voltage involved is 5 VDC.  The danger comes
  2562.   when combining  that  ability with X-10  technology to control  115 or 220
  2563.   VAC.
  2564.  
  2565.  
  2566.  
  2567.                                                                      PAGE 41
  2568.  
  2569.   
  2570.   
  2571.   
  2572.   
  2573.   Why did I include this chapter?  Schools, colleges, the formal educational
  2574.   system doesn't even recognize that  good olde Murphy even exits.  Murphy's
  2575.   laws are not written by some fat assed politician, nor are they the fruits
  2576.   of  very  deep  and  learned intellectual  experience,  instead they  have
  2577.   evolved based on the  experiences of those  poor souls who get dirty doing
  2578.   the actual work.  Play with personal computer automation very much and you
  2579.   will get to know Murphy on a first name basis and probably get to meet all
  2580.   his brothers, nephews and cousins.
  2581.   
  2582.   
  2583.   MURPHY'S LAWS ACCORDING TO CONTROL THEORY
  2584.   
  2585.   
  2586.   IN EVERY BIG PROGRAM THERE ARE THREE LITTLE ONES TRYING TO GET OUT. ONE OF
  2587.   THEM IS FLAWED
  2588.   
  2589.   
  2590.   CONTROL PROJECTS TAKE ALL THE PARTS YOU HAVE, PLUS ONE MORE.
  2591.   
  2592.   
  2593.   ALL CONTROL PROJECTS TAKE TWICE THE TIME ALLOCATED.
  2594.   
  2595.   
  2596.   THE FIRST INSTRUCTION DELETED WAS THE CORRECT ONE.
  2597.   
  2598.   
  2599.   ALL MECHANICAL DESIGNS ARE FLAWED.
  2600.   
  2601.   
  2602.   ALL BIG FLAWS ARE FOUND AFTER MIDNIGHT.
  2603.   
  2604.   
  2605.   MOTHER NATURE REALLY IS A BITCH.
  2606.   
  2607.   
  2608.   ALL MASTER PLANS ARE DOOMED TO FAIL
  2609.   
  2610.   
  2611.   IF ITS FIXED, YOU HAVE TO PLAY WITH IT UNTIL, YOU BREAK IT.  IF ITS BROKE,
  2612.   YOU HAVE TO PLAY WITH IT UNTIL ITS FIXED.
  2613.   
  2614.   
  2615.   IF THE FLAW IS IN A SENSOR, IT WILL BE FOUND IN SOFTWARE.
  2616.   
  2617.   
  2618.   THE ONLY GOOD CONTROL SYSTEM IS THE ONE THAT WAS JUST REPLACED.
  2619.   
  2620.   
  2621.   MOTHER NATURE REALLY DOES SIDE WITH THE HIDDEN FLAW.
  2622.   
  2623.   
  2624.   THE LAST PART CHECKED IS THE BAD ONE.
  2625.  
  2626.  
  2627.  
  2628.                                                                      PAGE 42
  2629.  
  2630.   
  2631.   
  2632.   THE WORK OF ALL JURY RIG EXPERTS LASTS TILL ONE DAY AFTER THEY QUIT.
  2633.   
  2634.   
  2635.   ALL BREAKS OCCUR IN THE WRONG END OF WIRE.
  2636.   
  2637.   
  2638.   NO PROGRAM  IS  ANY GOOD  UNTIL CHANGED  TWENTY TIMES.  A PROGRAM  CHANGED
  2639.   TWENTY TIMES IS USELESS.
  2640.   
  2641.   
  2642.   IF A PROGRAM IS USELESS IT WILL HAVE TO BE DOCUMENTED.
  2643.   
  2644.   
  2645.   THE INSTRUCTIONS ARE NEVER READ. UNTIL THE EQUIPMENT IS DAMAGED.
  2646.   
  2647.   
  2648.   NO FLAW IS EVER FOUND BY LOOKING FOR IT DIRECTLY.
  2649.   
  2650.   
  2651.   DATA USEFULNESS IS INVERSELY PROPORTIONAL TO THE AMOUNT OF IT.
  2652.   
  2653.   
  2654.   ALL BAD DESIGNS CAN BE FIXED BY MORE LINES OF PROGRAM
  2655.   
  2656.   
  2657.   THE OBSCURE ROUTINE NOT THOROUGHLY CHECKED IS FLAWED.
  2658.   
  2659.   
  2660.   ALL FLAWS ARE CAUSED BY OBSCURE ROUTINES.
  2661.   
  2662.   
  2663.   IF IT DON'T WORK, MORE DATA WILL HAVE TO BE COLLECTED.
  2664.   
  2665.   
  2666.   WHEN ANY CONTROL SYSTEM IS FULLY UNDERSTOOD IT IS OBSOLETE.
  2667.   
  2668.   
  2669.   ALL CONTROL PROGRAM SCAN PROBLEMS ARE CAUSED BY GLITCHES
  2670.   
  2671.   
  2672.   THINGS DO GO BUMP IN THE NIGHT
  2673.   
  2674.   
  2675.   BUMPS IN THE NIGHT ARE CAUSED BY THINGS
  2676.   
  2677.   
  2678.   A PERSON DOING KNOWS NOTHING. A PERSON WATCHING KNOWS ALL.
  2679.   
  2680.   
  2681.   ALL SIMPLE PROBLEMS ARE COMPLEX. ALL COMPLEX PROBLEMS ARE SIMPLE.
  2682.   
  2683.   
  2684.   COMPUTER MALFUNCTIONS ARE DIRECTLY PROPORTIONAL TO  THE AMOUNT OF PAPER IN
  2685.   THE PRINTER BOX.
  2686.  
  2687.  
  2688.  
  2689.                                                                      PAGE 43
  2690.  
  2691.   
  2692.   
  2693.   THE WORTH OF ANYTHING IS DIRECTLY INVERSELY PROPORTIONAL TO ITS COST.
  2694.   
  2695.   
  2696.   BIG TALKERS, DO SMALL, SMALL TALKERS, DO BIG
  2697.   
  2698.   
  2699.   ALL PARTS THAT CAN NOT BE LOCATED ARE WORTHLESS.
  2700.   
  2701.   
  2702.   ALL PLANS OR PROGRAMS ARE FLAWED, BE THEY OF MICE OR MEM.
  2703.   
  2704.   
  2705.   IF THE COMPUTER IS BIG ENOUGH, ALL PROBLEMS CAN BE SOLVED.
  2706.   
  2707.   
  2708.   THE AMOUNT OF  FLAWS DISCOVERED IS  DIRECTLY PROPORTIONAL TO THE AMOUNT OF
  2709.   EQUIPMENT DAMAGE.
  2710.   
  2711.   
  2712.   ALL CHECKS IN THE MAIL AND ALL PARTS SHIPPED TODAY TAKE SIX TO EIGHT WEEKS
  2713.   TO ARRIVE.
  2714.   
  2715.   
  2716.   THE PART NOT ORDERED, IS THE CRITICAL ONE.
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.                                                                      PAGE 44
  2751.  
  2752.   
  2753.   
  2754.   
  2755.   
  2756.   
  2757.   
  2758.   PROBLEM AREAS AND LIMITATIONS
  2759.   
  2760.   
  2761.   
  2762.   X-10 technology  has some  bugs in it.  Basically the  modules communicate
  2763.   over the wires that power the house,  depending on how your house is wired
  2764.   will determine if you have problems or not.
  2765.   
  2766.   Some of these problems can be very annoying.  In the registered version is
  2767.   a much  more  detail discussion  with  the problem areas  fully explained,
  2768.   solutions offered and  various situations  that different user  might face
  2769.   are covered.
  2770.   
  2771.   In  addition  all  problems with  equipment,  the best  equipment  for the
  2772.   application and all problem areas/equipment  difference and other areas of
  2773.   difficulty encountered during  the development  of AUTOMATE are discussed.
  2774.   These  discussions  and  information  alone  are  worth the  price  of the
  2775.   registered version of AUTOMATE. Some of these areas can rapidly exceed the
  2776.   ability of the average user to find or understand/correct the problem.
  2777.  
  2778.  
  2779.  
  2780.  
  2781.  
  2782.  
  2783.  
  2784.  
  2785.  
  2786.  
  2787.  
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.                                                                      PAGE 45
  2812.  
  2813.   
  2814.   
  2815.   WHAT DO I GET IF I REGISTER ?????????
  2816.   
  2817.   
  2818.   
  2819.   1. First of all my humble gratitude and thanks for rewarding my efforts.
  2820.   
  2821.   Second a completely  different program and  instructions for doing all the
  2822.   things discussed and demonstrated in the introductory shareware version.
  2823.   
  2824.   2.  Construction details on how  to build sensors,  calibration techniques
  2825.   and curve generators.
  2826.   
  2827.   A look at the  in/outs of designing  sensors and trimming  programs to use
  2828.   those sensors.
  2829.   
  2830.   Discussions  on  methods  of  using  graphic  displays  to  show  off your
  2831.   control/monitoring handiwork.
  2832.   
  2833.   A complete example of how to build,  test,  calibrate and program a system
  2834.   to monitor analog real world parameters (visible light and temperature).
  2835.   
  2836.   The data sets  for four temperature  probes referenced to  their part no.s
  2837.   and information on suppliers and design of those sensors.
  2838.   
  2839.   Example of how to  use that system  for parameter display  on the computer
  2840.   screen, data logging and setpoints generation for control applications.
  2841.   
  2842.   A complete discussion on inputing contact information via the gamecard. In
  2843.   addition a input expansion method to increase the number allowable.
  2844.   
  2845.   The only  complete  engineering based  program  on the market  for using a
  2846.   personal computer for monitoring, automation and control.
  2847.   
  2848.   3.  Construction details on  building a connection  box for the game port.
  2849.   The box  design  takes into  consideration the identification  of gamecard
  2850.   channels, programming considerations, acts as prototyping testbed to allow
  2851.   development  and  calibration  of  sensors  and allows  for  connection of
  2852.   sensors to the gamecard for monitoring or control applications.  Walks you
  2853.   through the calibration and testing of the gamecard for monitoring/control
  2854.   applications and has automatic characteristic curve generator.
  2855.   
  2856.   4.  A photo  of the  completed connection box,  other useful equipment and
  2857.   several prototype sensors.
  2858.   
  2859.   5.  Information  on  sensors  useful  in  home  applications.  Model No.s,
  2860.   approximate price, where to buy and how to use them.
  2861.   
  2862.   6. List of suppliers for X-10 technology equipment.
  2863.   
  2864.   7. List of suppliers for electronic and other hardware.
  2865.   
  2866.   8. Calibration details and examples of how to do it.
  2867.   
  2868.   9.  Sample  programs  for monitoring  and data  logging.  (source code  is
  2869.  
  2870.  
  2871.  
  2872.                                                                      PAGE 46
  2873.  
  2874.   included for all program examples.).  Also included is a  mail box monitor
  2875.   program. No more that mail person sneaking up on you.
  2876.   
  2877.   The  lastest  additions  to  the   registered  version.  That  program  is
  2878.   constantly being revised  and additions made.  The total program is 700 K+
  2879.   and growing.
  2880.   
  2881.   10. Tips and hints on designing control programs.
  2882.   
  2883.   11.  A discussion  on  X-10 technology  and  how to communicate  with X-10
  2884.   modules.  Included  is  a  communication  program  for  use  with AUTOMATE
  2885.   monitoring and control programs.  A sample program using AUTOMATE and X-10
  2886.   modules  together.  Information  on  buying  the  best X-10  interface and
  2887.   communications software.  Discussions on the problem areas  and how to fix
  2888.   them.
  2889.   
  2890.   12.  A completely different program with more  in depth discussion in many
  2891.   areas.  The  registered  version  IS  NOT  a  warmed over  version  of the
  2892.   shareware version.  All redundant files of the  shareware version has been
  2893.   deleted.
  2894.   
  2895.   13.  Full disclosure  of all  methods and files.  All compiled  files have
  2896.   their source  code included.  As time  goes by  the Registered  Version is
  2897.   being updated and compiled more with menu driven instructions.  Where this
  2898.   occurs source  code  will be furnished  of the working  parts and methods.
  2899.   Nothing is "hidden".
  2900.   
  2901.   14.  The only limitations to the purchaser are: The purchaser may not seek
  2902.   to duplicate the intent, methods or manner of AUTOMATE so as to supersede,
  2903.   or directly compete with  AUTOMATE in a  commercial manner or in any other
  2904.   manner render  AUTOMATE obsolete.  The purchaser  shall have  the right to
  2905.   develop any other application not contained in AUTOMATE for his own use or
  2906.   sale. Registration is NOT a license for exclusive use.
  2907.   
  2908.   No  restrictions  shall  be recognized  due to  the  purchasers copyright,
  2909.   patent or  any  other legal protection,  where the source  is derived from
  2910.   AUTOMATE. A reference to the source material is required. You CANNOT COPY,
  2911.   USE OR INCLUDE AUTOMATE to complete your program. No bundling or attaching
  2912.   of files,  whole or in part.  The use permission is  intended to allow for
  2913.   new product development. It is not a use through attachment permission.
  2914.   
  2915.   These restrictions are  basically for use  of AUTOMATE in  producing other
  2916.   software for  sale or  distribution to others.  For registered users using
  2917.   for their own use there are no restrictions.
  2918.   
  2919.   A  bit  of explanation.  If you  buy a  software programming  package like
  2920.   MicroSoft's QuickBasic, you can use that product to produce other software
  2921.   to sell to  the general public.  But you  can not  use that product source
  2922.   code, if you could get your hands on it, to produce a competing product to
  2923.   QuickBasic.
  2924.   
  2925.   I do something virtually no one else does. I give you the source code with
  2926.   explanation to  all working  parts of AUTOMATE.  The reason is simple,  it
  2927.   allows that  registered  user to modify  the programs to  make that custom
  2928.   application exactly  like  they wanted.  It also helps  in producing other
  2929.   related software.
  2930.  
  2931.  
  2932.  
  2933.                                                                      PAGE 47
  2934.  
  2935.   
  2936.   The results  of using  AUTOMATE are  usable  in your programs  for sale or
  2937.   further distribution to others. Bundling, copying and wholesale direct use
  2938.   of my source  code is not.  I have the ability to  break into any program,
  2939.   compiled or not  to determine  the source  code used.  If I find  you have
  2940.   reused my  source code  in a  wholesale  direct manner  and  then sold  or
  2941.   redistributed  those  results,  you  have  violated  your  license to  use
  2942.   AUTOMATE or the TOOL-BOX. None of my software is in the public domain. All
  2943.   of the software is Copyrighted.
  2944.   
  2945.   15.  Finally full  rights  to chop it  up and use  any part,  whole files,
  2946.   develop  any  application   (software  and   hardware)  and   include  any
  2947.   information,  in whole or  in part in  your application without any fee or
  2948.   liability.  All ideas expressed in the registered version may be developed
  2949.   free of any liability  or fee in so  far as they are  not in conflict with
  2950.   paragraph 14.
  2951.   
  2952.   This right for use is intended to allow the user to develop new, novel and
  2953.   useful  products  where  the  results  of  development of  the  results of
  2954.   AUTOMATE are integrated into  that product development.  Simple attachment
  2955.   or copying of methods, techniques, files whole or in part as to add value,
  2956.   enhance or  complete  a user's  application  for sale  shall  be viewed an
  2957.   infringement of the right to use permission.
  2958.   
  2959.   These two paragraphs are  not in conflict.  Basically they are  saying you
  2960.   can use  it for  other honest development  work but  you cannot  use it to
  2961.   build a  program for  distribution or  sale  that is  like or  of the same
  2962.   purpose  or  competes  in  a  commercial  manner.  For  your  own  use  no
  2963.   restrictions.
  2964.   
  2965.   16.  All registered  users  MUST acknowledge  in writing (included  in the
  2966.   order form)  their liability  for further  distribution of  the registered
  2967.   version without financial remuneration to the author.  No purchase will be
  2968.   accepted without the acknowledgement.
  2969.   
  2970.   Purchasers shall fully  accept responsibility  for ensuring the registered
  2971.   version is not placed on electronic bulletin  boards or any other means of
  2972.   mass duplication.  An understanding shall exist that registered copies may
  2973.   be "marked" by  an identification means  to identify the registered owner.
  2974.   Registered users are free to make an unlimited number of copies for use by
  2975.   the registered owner on as many systems as he owns or controls.
  2976.   
  2977.   If the owner is not an individual, a site registration is required and the
  2978.   number of users is restricted to 30 individuals per site.  Each individual
  2979.   owner is restricted to his exclusive use only without a site registration.
  2980.   Transfer of ownership of  AUTOMATE through sale,  gift or any  other means
  2981.   shall not be recognized by the author.  Transfer of ownership by any means
  2982.   shall be viewed as illegal further distribution of AUTOMATE.
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.                                                                      PAGE 48
  2995.  
  2996.   
  2997.   
  2998.   
  2999.   
  3000.   
  3001.   
  3002.   
  3003.   THE AUTOMATE TOOL-BOX
  3004.   
  3005.   
  3006.   
  3007.   First what is the AUTOMATE TOOL-BOX? The TOOL-BOX is a software collection
  3008.   of modular control routines, graphic displays and stand alone applications
  3009.   programs for use with the AUTOMATE development package.
  3010.   
  3011.   The TOOL-BOX starts to explore where the limits of the AUTOMATE techniques
  3012.   are. Any application requiring very high speed reading of the inputs start
  3013.   to test the limits of this type application.
  3014.   
  3015.   These modular programs  can be plugged  in or quickly edited to accomplish
  3016.   the features desired. Working examples of the techniques are presented and
  3017.   a tutor section is included to aid in learning the techniques.
  3018.   
  3019.   The AUTOMATE  TOOL-BOX  is a commercial  program and is  only available to
  3020.   registered users  of AUTOMATE.  The TOOL-BOX is written  in QuickBasic 4.5
  3021.   modules.
  3022.   
  3023.   All program modules have the source code  included and have a written text
  3024.   description. An overall instruction manual is included.
  3025.   
  3026.   The modules are of two general varieties:
  3027.   
  3028.   
  3029.   1.  Graphic  displays  -  Kind  of like  clip art.  On screen  displays of
  3030.   measured parameters,  designs for meters,  digital displays, alarm panels,
  3031.   panel  layouts  with  indicator  status  lights,  analog displays,  system
  3032.   status,  etc.  A general  text discussion  on producing these displays,  a
  3033.   sample menuing program and a manual  section with very basic discussion on
  3034.   programming for the graphics mode.
  3035.   
  3036.   2.  Small stand alone complete programs for particular applications. These
  3037.   programs may  be  combined with control  routines and graphic  displays to
  3038.   produce  very  large  custom  home  automation  systems.  Some application
  3039.   programs are  infrared  and radio communications,  remote pushbutton input
  3040.   stations,  clock and calendar display,  strip chart plotting program, etc.
  3041.   Each program has a manual text section,  the source code is included and a
  3042.   bill of material and construction details if hardware is involved.
  3043.   
  3044.   The TOOL-BOX  is  designed for use  by the programming  and nonprogramming
  3045.   user alike.
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.                                                                      PAGE 49
  3056.  
  3057.   
  3058.   
  3059.   
  3060.   QUESTIONS
  3061.   
  3062.   
  3063.   
  3064.   All software should have a "QUESTIONS" chapter.  O K, I've read it all but
  3065.   I still have  these questions!!  So,  here is my questions  chapter of all
  3066.   those things I didn't get around to answering.
  3067.   
  3068.   QUESTION:
  3069.   
  3070.   Do you sell the hardware, I don't want to build my own?
  3071.   
  3072.   ANSWER
  3073.   
  3074.   Maybe,  if there is  enough demand.  I'll probably stock  the sensor parts
  3075.   that  are  the  more  difficult ones  to obtain.  As for  the  other small
  3076.   construction projects required  at this time,  I don't want  to build them
  3077.   but if someone out there does I'll try to cooperate.  Nothing I present in
  3078.   the registered version is difficult to build.  Plus everything has a parts
  3079.   list and a supplier referenced  to obtain those parts.  Most come from one
  3080.   source and I  even give  you the catalog numbers.  To get you  through the
  3081.   project,  I do a lot  of "hand holding".  The general tone does not assume
  3082.   that you are  an experienced in  electronics or computers and explains all
  3083.   steps as they are accomplished. Where I know small differences exists from
  3084.   computer to  computer,  the differences  are  pointed out,  with suggested
  3085.   solutions.  I've also picked  over the suppliers  and only list those that
  3086.   give results, plus I kind of rate them and point out some of the flaws.
  3087.   
  3088.   QUESTION
  3089.   
  3090.   Yeah,  but I don't know  anything about electronics,  I'm just the average
  3091.   computer wizard and I  always thought an  engineer was the guy who drove a
  3092.   train?  Plus I failed differential inverted  calculus and can't even spell
  3093.   lapasal transform or was it laplase transform, anyhow you get my drift?
  3094.   
  3095.   ANSWER
  3096.   
  3097.   Great,  you  don't  have  to  know  electronics.  The electronics  part is
  3098.   presented for dummies.  I "lead you  through the  woods" in the electronic
  3099.   and math areas.  You can get  working applications  by just "following the
  3100.   lead". In the areas of programing or math the examples are fully explained
  3101.   in a  prior  discussion to  doing  that part  but  the actual  application
  3102.   example to produce a working application is fully worked out.  The results
  3103.   are used  "cookbook style".  For the  "rocket scientists"  and math expert
  3104.   enough back ground is presented to let  you wander the woods for all sorts
  3105.   of goodies. The required math is on the level of balancing your checkbook.
  3106.   The more your knowledge base, the more you can do.
  3107.   
  3108.   QUESTION
  3109.   
  3110.   So,  if I can do automation  with the X-10 technology equipment,  why do I
  3111.   need AUTOMATE,  why not  just  buy off the  shelf equipment and  do really
  3112.   great systems  that will  really impress  all  my friends and  about to be
  3113.  
  3114.  
  3115.  
  3116.                                                                      PAGE 50
  3117.  
  3118.   friends?
  3119.   
  3120.   ANSWER
  3121.   
  3122.   Thats just it friend,  with the equipment bought off the shelf, you aren't
  3123.   even going to impress yourself.  The "off the  shelf" automation equipment
  3124.   is basically based on time.  All really good automation  type systems will
  3125.   require a good source of independent information for decision making. Time
  3126.   is  only  one  of  those  good  sources  of  information.  A  lot  can  be
  3127.   accomplished  based  on  time.  But  the  limits  appear  rather  quickly.
  3128.   Information like visible light level,  temperature and others  are what is
  3129.   really required to automate  most desired functions.  AUTOMATE is the link
  3130.   to allow  development of  that desired  information.  AUTOMATE allows  for
  3131.   complete data logging,  automation systems based on information other than
  3132.   time and the ability to monitor and display the results of automation, not
  3133.   just  another  "dumb"  system  blindly doing  its thing.  AUTOMATE is  NOT
  3134.   ANOTHER PRECANNED solution to the world's problems.
  3135.   
  3136.   AUTOMATE is NOT another magic solution.  It requires thought and some work
  3137.   on the users part. The flip side of the coin is it also allows the user to
  3138.   develop  powerful  automation  systems for  their use  or  for sale.  Plus
  3139.   AUTOMATE is the only really low cost, effective and workable system on the
  3140.   market for analog  and contact  control/monitoring that offers  a complete
  3141.   and fully implemented method for achieving results.  AUTOMATE is not about
  3142.   selling you  hardware  and a  "pig-in-the-poke"  but is  about  a planned,
  3143.   method based  approach  to control/monitoring  using a  personal computer.
  3144.   Plus it  gets you  involved with the application,  don't believe any other
  3145.   promises, your application with differ from the next guys, the trick is to
  3146.   understand  the  basics  and  background  to  handle  your  own particular
  3147.   application.  AUTOMATE is not an experiment type based program.  The basis
  3148.   is engineering methods.  The sensor data is  developed from manufacturer's
  3149.   data.
  3150.   
  3151.   
  3152.   QUESTION:
  3153.   
  3154.   Is there any good reference book for a beginner programming type who would
  3155.   like to try but finds all those IBM manuals makes mush out of the brain?
  3156.   
  3157.   ANSWER
  3158.   
  3159.   Get the  ACORN  instruction manual  (lot  of grade school  and junior high
  3160.   schools used that computer) very good entry level introduction.  For color
  3161.   and graphics beginning reference I highly recommend Carl Shipman's "How to
  3162.   program your IBM PC - Color & Graphics". Ask for it at any good bookstore.
  3163.   If  they  don't  have  it,  ask  them  to  order  it.  The fancy  standard
  3164.   identification number  (most  USA books  now  have a unique  standard type
  3165.   number that identifies that book), kind of like "dog tags for books".  The
  3166.   number is "ISBN 0-89586-256-4".  Using those references  and an occasional
  3167.   foray into the IBM  BASIC manual you  can under stand anything in the demo
  3168.   programs.  Using precanned programs to do things  you do not understand is
  3169.   asking for trouble.  If you get stuck,  ask your kids,  if your a kid, ask
  3170.   your parents.  Anyway how are you ever really  going to be able to explain
  3171.   it to the insurance company if you burn the house down.
  3172.   
  3173.   QUESTION
  3174.  
  3175.  
  3176.  
  3177.                                                                      PAGE 51
  3178.  
  3179.   
  3180.   Do you want to go to work for me?
  3181.   
  3182.   ANSWER - No
  3183.   
  3184.   QUESTION
  3185.   
  3186.   I have a brilliant idea or a problem, can I call you.
  3187.   
  3188.   ANSWER
  3189.   
  3190.   Yes,  but please  not till  after 12 noon  EST and not after  8 PM EST.  I
  3191.   prefer most things in writing. You have to think it out better.
  3192.   
  3193.   QUESTION
  3194.   
  3195.   Is this computer control and automation dangerous?
  3196.   
  3197.   ANSWER
  3198.   
  3199.   Yes,  if  you  are careless.  The X-10  technology  control involves  high
  3200.   voltage,  such as  110 VAC  and 220 VAC.  If you stick your  tongue into a
  3201.   regular wall  power receptacle  you will get hurt.  Computer control is an
  3202.   extension of  the  safety and  good housekeeping  practices  that everyone
  3203.   should follow around the home without any computers involved. There is "NO
  3204.   MAGIC", if you do stupid things, no computer is going to protect you.  The
  3205.   analog and control  monitoring that I  talk about is inherently safe.  The
  3206.   highest voltage present if you do things correctly is 5 VDC.  If I make no
  3207.   other impression or get  no other point across,  KNOW WHAT YOU DOING - the
  3208.   home is probably  the most unsafe  place we are exposed too.  USE THE SAME
  3209.   CARE WITH COMPUTER AUTOMATION THAT YOU  USE WITH ANY HIGH VOLTAGE,  MOVING
  3210.   PARTS OR OTHER HOME HAZARDS.
  3211.   
  3212.   Can money be made from the automation/control/monitoring applications?
  3213.   
  3214.   ANSWER
  3215.   
  3216.   Lord,  Yes,  The home market is probably  saturated with data bases,  word
  3217.   processors, games, etc.  Automation labs are fun.  It requires a different
  3218.   kind of computer thinking.  The world is full of one function,  don't hand
  3219.   me that type screwdriver (I only do Phillip head screws) type folks.  Good
  3220.   automation  requires  general  practitioners,  those with  skills  in many
  3221.   different areas and the ability to see  the solution and then stay with it
  3222.   through the final implementation.  Those folks who can cut the mustard and
  3223.   are organized and can count  on a ready market.  It is there,  you have to
  3224.   find it and then serve a niche.
  3225.   
  3226.   
  3227.   QUESTION
  3228.   
  3229.   What if I try it but can't understand or am just turned off?
  3230.   
  3231.   ANSWER
  3232.   
  3233.   The general field of  automation/control/monitoring is huge.  I have found
  3234.   you start in one  area and your interests  just takes you from one area to
  3235.  
  3236.  
  3237.  
  3238.                                                                      PAGE 52
  3239.  
  3240.   another. It is easy to get "hooked". Unlike most computer stuff, where its
  3241.   all pre-  canned and  you feel like a  fool for not being  able to see the
  3242.   solution. Computer control and automation is not precanned and you have to
  3243.   get involved with your particular application.  Once you acquire the basic
  3244.   working  knowledge  its  very  difficult  not  to  like  it.  There is  no
  3245.   right/wrong type thinking.  There are many different solutions.  I found I
  3246.   will start with a preconceived idea about  something and find I'm all wet,
  3247.   halfway through the problem.
  3248.   
  3249.   QUESTION
  3250.   
  3251.   I have seen all sorts of magazine articles, ads and that sort of thing, is
  3252.   this just another come on,  long on selling,  long on promises  and then I
  3253.   won't be able to get it to work?
  3254.   
  3255.   ANSWER
  3256.   
  3257.   There is  going  to be  a  certain amount of  that hype.  Anyone promising
  3258.   "magic solutions"  with  no basic  computer knowledge  or  "miracles" with
  3259.   precanned software is probably leading you down the primrose path.  A good
  3260.   solid knowledge of computer basics,  a little programming knowledge,  some
  3261.   curiosity,  good  organization,  common  sense  and  some  stick-to-it  is
  3262.   required for  success.  If your  the  type person  who can be  found going
  3263.   sixteen ways all at  once or expects  instant success based on a very thin
  3264.   knowledge base your  in for trouble.  In addition you can  get hurt or get
  3265.   others hurt.
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.                                                                      PAGE 53
  3300.  
  3301.   QUESTION
  3302.   
  3303.   Isn't all this very expensive?
  3304.   
  3305.   ANSWER
  3306.   
  3307.   No, just the opposite. You can build most hardware for sensors and control
  3308.   devices. There are new small, cheap computers (just buy the box), get used
  3309.   monitors, printers, keyboards and hang a system together. You don't need a
  3310.   hard disk, the number of ports (com, printer, game, external devices), the
  3311.   amount of  RAM,  things like  that  are more important.  A one  disk drive
  3312.   machine is fine.  Most can be  put together  by going to  salvage computer
  3313.   companies. I bought a new keyboard and a very expensive tilt monitor (with
  3314.   small burnt areas on  the screen - which  has no effect on  what I want to
  3315.   do)  for  $50.  Used  all  the  extra  equipment  that  was  laying around
  3316.   collecting dust.  In all for a 1 Meg RAM,  286 AT, one disk drive, w/2 com
  3317.   ports,  parallel printer port,  external drive port, game port, monochrome
  3318.   monitor,  joystick,  connector box, C-Itoh 8510 printer, electronic parts,
  3319.   new digital  auto  ranging multimeter  final  cost around  $600.00  and my
  3320.   regular make-the-money computer is not  at risk at all.  I have used parts
  3321.   out of  my "junk  box" that I have  never expected to ever  have a use for
  3322.   again.  You don't need super "high tech" to be effective. Moreover its the
  3323.   one area of  personal computers  where if you want,  you can have complete
  3324.   control over developing YOUR SYSTEM.  It may not be the best, may not even
  3325.   work very  well,  but it  is YOURS.  With a little  skill and time,  it is
  3326.   possible to build a very nice system.
  3327.   
  3328.   Plus the  X-10 stuff  is reasonable and  can be built  up in phases.  Also
  3329.   using the contact  input scheme given  in the registered  version bypasses
  3330.   the most expensive modules.
  3331.   
  3332.   QUESTION
  3333.   
  3334.   Yeah,  but  is  it  fun?  I'm up  to HERE  with computer  stuff.  All that
  3335.   databases, inputs demands, cross-inverted double whammy eat the dots games
  3336.   until I could just bust.  It has left me badly  burnt-out on computers and
  3337.   just plain  jaded.  I just  think I've  seen it all.  Nothing turns  me on
  3338.   anymore !!!
  3339.   
  3340.   ANSWER
  3341.   
  3342.   Pal,  the only thing more fun is the monkey cage at the zoo around feeding
  3343.   time when they get real frisky.  As for the jaded part,  you're gonna have
  3344.   to see some sort of a therapist or shrink for the rest of your problem.
  3345.   
  3346.   
  3347.   
  3348.   
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.